SvennD
Installing mariadb on Centos 6.7 32bit
January 7, 2016

Installing mariadb on Centos 6.7 32bit

Posted on January 7, 2016  •  1 minutes  • 147 words  •  Suggest Changes

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.

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

# 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

Also

yum install MySQL-server MySQL-client

Will resolve in MariaDB.

Have fun with Maria … db.

Support

If you enjoyed this website, consider buying me a Dr. Pepper

Buy me a Dr PepperBuy me a Dr Pepper