Here you can search and view our site Knowledge Base.
To find a specific article, use KB-article number format (ex. KB-1)
| Article number: kb-30
|Q. How to enable and run MySQL/MariaDB on CentOS 7?
A. Enable and run MariaDB in Centos 7
MariaDB is a drop-in replacement for MySQL. It is easy to install, offers many speed and performance improvements, and is easy to integrate into most MySQL deployments.
Installing MariaDB is as simple as running just one command:
# yum -y install mariadb-server mariadb
And then start MySQL, now MariaDB:
# systemctl start mariadb.service
Be sure that MySQL/MariaDB starts at boot:
# systemctl enable mariadb.service
To check the status of MySQL/MariaDB:
# systemctl status mariadb
To stop MySQL/MariaDB:
# systemctl stop mariadb
Check the installation with the command client:
|This page has been viewed 800 times
Return to Search