3

I'm spun up a brand new Cento OS 7 virtual machine and I'm following this tutorial to install a MariaDB + Galera cluster.

I've added the MariaDB repos as follows:

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

then filled it with

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.0/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

Now, I'm supposed to run sudo yum install MariaDB-Galera-server MariaDB-client galera to install, which has worked for me before, but for some reason, only MariaDB-client and galera are installed this time and I'm getting this surprising message from yum:

No package MariaDB-Galera-server available.

Any idea why?

Edit:

Comparing the Fedora, CentOS and RedHat repos, it looks like only the Fedora repo has the package. Is that a deployment mistake?

4

As per official documentation I quote

There are no longer separate MariaDB Galera Cluster releases for MariaDB 10.1 and above. Simply download MariaDB (10.1 or above) and configure your cluster as normal.

You won't find the package MariaDB-Galera-server on the repo 10.1

To answer your question since you are using the repo 10.0, i just made a test and notice that the package MariaDB-Galera-server is present on CentOS 7.

Screenshot showing MariaDB-Galera-server

  • I am sure that you did not clean the server from old MySQL or MariaDB packages on the machine.
  • Also verify the presence of any libs related to mysql or mariadb.
  • Also do a yum clean all and try installing it.
0

As long as newer version considered on CentOS 7. You can just use as below

yum -y install MariaDB-server MariaDB-client galera

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.