With Centos 7.1 MySQL got replaced by MariaDB. That is great, but now I also want MariaDB on Centos 6.7, because. By default its not in the repo’s (no suprise there) so you need to add the repo yourself. Good thing MariaDB has a download page telling you howto.
# MariaDB 10.1 CentOS repository list - created 2016-01-07 08:22 UTC # http://mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos6-x86 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1
After you get that code, it will tell you detailed info can be found here if you’re google query came on that page first, and like me you did not read the page but just copy/pasted the repo. It won’t work 😀
yum clean all will save you.
After that you can just run :
yum install MariaDB-server MariaDB-client
yum install MySQL-server MySQL-client
Will resolve in MariaDB.
Have fun with Maria … db.