Installation of Mariadb Database Server In CentOS 7
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 changing in your applications.
Database structure and indexes are same as MySQL database server.
It uses the port 3306 and open source database serve. The main configuration file is /etc/my.cnf
Installation of Mariadb Server
First thing is to do check whether 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
Packages included :
Now You need to start/enable the services of Mariadb Server
Run following commands to do this
systemctl start mariadb # for redhat/centOs 7
service mysqld start # for redhat/centOs 6
systemctl enable mariadb # for redhat/centOs 7
chkconfig mysqld on # for redhat/centOs 6
In Case, You find any problem in start the service try this commands
systemctl start/enable mysqld