HostOnNet Blog

Installing MariaDB on CentOS 6

Looking for Linux Server Admin or WordPress Expert? We can help.

CentOS 7 come with MariaDB by default. Since many large sites like Google, Wikipedia migrating away from Oracle MySQL to MriaDB, lets use it on our new CentOS server installation.

Create the file /etc/yum.repos.d/MariaDB.repo

vi /etc/yum.repos.d/MariaDB.repo


name = MariaDB
baseurl =

Now, run

yum update

Search for available MariaDB versions

yum search MariaDB

To Install, run

yum install MariaDB-server MariaDB-client

To Start/Stop

service mysql start
service mysql stop

Posted in MySQL

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.