installation of mariadb

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

Check Out : Solve MySQL Can’t Connect To Local MySQL Server Through Socket

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 :

  • mysql-community-devel-5.7.22-1.el7.x86_64.rpm
  • mysql-community-libs-compat-5.7.22-1.el7.x86_64.rpm
  • mysql-community-client-5.7.22-1.el7.x86_64.rpm
  • mysql-community-test-5.7.22-1.el7.x86_64.rpm
  • mysql-community-server-5.7.22-1.el7.x86_64.rpm

Now You need to start/enable the services of Mariadb Server

Check Out : Different Ways of Finding Table Size In Mysql 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

Check status

In Case, You find any problem in start the service try this commands

systemctl start/enable mysqld

You’re done

Leave a Reply

Notify of