![]() ![]() To ensure that the database server launches after a reboot, you mustĮnable the chkconfig utility. Use the following command to stop MariaDB: sudo systemctl stop rvice Use the following command to start MariaDB: sudo systemctl start rvice If the system is already started, a message informs you that the service is already running. Use the following command to set the root password and other important settings: /usr/bin/mysql_secure_installationĪfter the installation is complete, you can start the database service by using the commands in this section. Run the following command to allow remote access: firewall-cmd -zone=public -add-service=mysql -permanentīecause you have just installed the MariaDB database server, the rootĪccount has no password set. ![]() Install the MariaDB server through the CentOS package manager (yum) by running the following command at a command prompt: sudo yum install mariadb-server Install the database serverįollow the steps in this section to install the core database server. Check your application documentation for details. You might need to install other packages to let applications use MariaDB, such as extensions for PHP. ![]() This article describes a basic installation of a MariaDB database server on CentOS Linux. MariaDB was created by the original developers of MySQL, and is an enhanced, drop-in replacement for MySQL with library binary equivalency and exact matching with MySQL APIs and commands. With the release of CentOS 7, MariaDB replaced MySQL as the default database system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |