Installation of MariaDB Database, MariaDB Server is reliable, high performance, and full-featured relational database. This allows you to migrate from MySQL to MariaDB without making any changes in your applications. We can install the MariaDB database server on Linux.
Installation of MariaDB Database Server On CentOS 7:
Database structure and indexes are the same as the MySQL database server. It uses the port 3306 and open-source database server. The main configuration file is /etc/my.cnf
Installation of MariaDB Server
First thing is to do check whether it is already installed or not.
rpm –qa mariadb*
If not installed then run this command
yum install mariadb* -y
Once it’s get installed. You need to check all the dependencies are installed or not by the same command.
Check Out: Restore & Backup Of Mysql Server
Now You need to start/enable the services of MariaDB Server
Use the below commands to start the services.
systemctl start mariadb # RedHat/Centos 7 service mysqld start # RedHat/Centos 6
Use the below commands to enable the services at boot time.
systemctl enable mariadb # RedHat/Centos 7 chkconfig mysqld on # RedHat/Centos 6
In Case, You find any problem in starting the service try these commands
systemctl start/enable mysqld
We can check the MariaDB version using select version();
That’s it.install mariadb database server on linux