I tried to install MariaDB
$ sudo yum -y install MariaDB-server MariaDB-client
but yum return error
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.halifax.rwth-aachen.de
* epel: mirror.imt-systems.com
* extras: mirror.imt-systems.com
* remi-php72: mirror.23media.com
* remi-safe: mirror.23media.com
* updates: mirror.alpix.eu
No package MariaDB-server available.
No package MariaDB-client available.
Error: Nothing to do
I also add Mariadb repo in /etc/yum.repos.d/MariaDB.repo
MariaDB.repo is:
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
2
Answers
http://yum.mariadb.org/5.5/centos6-amd64
in .repo is not match with CentOS 7 this instead:then:
To match case-sensitive names of servers a.k.a.
MariaDB-server
notmariadb-server
, You must have correct mariadb server repos added. Thus – You will also have latest Maria DB server versions (be careful with this, if not intended).For Centos 7 version worth using official installation manual – much safer and easy: https://mariadb.com/resources/blog/installing-mariadb-10-on-centos-7-rhel-7/