HostOnNet Blog

Installing MariaDB on CentOS 6

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