Programster's Blog

Tutorials focusing on Linux, programming, and open-source

CentOS - Install MariaDB 5.5

CentOS does not come with MySQL in the repositories. Instead it has switched over to MariaDB. The script below will install MariaDB 5.5 which is extremely similar to MySql 5.5.

sudo yum install mariadb-server -y
sudo systemctl start mariadb
sudo systemctl enable mariadb
mysql_secure_installation

Now you can log into your database by entering the mysql command as usual.

Last updated: 16th August 2018
First published: 16th August 2018

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch