I am experiencing some trouble with installing MariaDB 10.4 on Centos 7. The official mariaDB guide says that a new repo file MariaDB.repo
should created in /etc/yum.repos.d/
with the contents of:
# MariaDB 10.4 CentOS repository list - created 2019-12-13 22:03 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos7-ppc64le
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
I've run yum-config-manager --enable MariaDB.repo
and yum update
and inspected the enabled repos:
$ enabled | grep maria
mariadb MariaDB 86
This confirms that the new repo is enabled. The guide later says to run sudo yum install MariaDB-server MariaDB-client
. Unfortunately, there is nothing to install as I am greeted with a message:
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.anexia.at
* epel: ftp.uni-kl.de
* extras: mirror.easyname.at
* remi-php74: remi.mirror.karneval.cz
* remi-safe: remi.mirror.karneval.cz
* updates: centos.anexia.at
No package MariaDB-server available.
* Maybe you meant: mariadb-server
No package MariaDB-client available.
Notice that there is no mention of MariaDB.repo
I just enabled. Also, the suggested package mariadb-server
is version 5.5. What is the correct way to install MariaDB version 10.4 on Centos 7?