Comments - Installing MariaDB with yum/dnf

7 years, 2 months ago Wagner Bianchi
This comment has the status of 'removed' and can only be seen by you.

I setup a new cluster today to check changes that came with the 10.1.21 and I noticed that, when installing packages with the yellow dog aka YUM, it says the package "MariaDB-Galera-server" does not exists, as per the below check:

  1. [root@node03 ]# date ; cat /etc/yum.repos.d/MariaDB.repo ; yum search MariaDB-Galera-server Fri Jan 27 19:29:07 UTC 2017
  1. MariaDB 10.1 CentOS repository list - created 2017-01-27 14:27 UTC
  2. http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1

Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile

  • base: centos.xpg.com.br
  • extras: mirror.globo.com
  • updates: mirror.globo.com Warning: No matches found for: MariaDB-Galera-server No matches found

Testing the setup tweaking the manual's packages name for the yum install command, I ended up having the cluster setup in properly way. So, I think this is a matter of adjusting the manual entry to reflect the correct name of the package:

[root@node02 mysql]# rpm -qa | egrep "Maria|galera" MariaDB-client-10.1.21-1.el7.centos.x86_64 MariaDB-common-10.1.21-1.el7.centos.x86_64 galera-25.3.19-1.rhel7.el7.centos.x86_64 MariaDB-server-10.1.21-1.el7.centos.x86_64

So, the cluster was finely bootstrapped:

[root@node01 ]# galera_new_cluster [root@node01 ]# mysql ...

wsrep_cluster_addressgcomm:192.168.50.10,192.168.50.11,192.168.50.12
wsrep_patch_versionwsrep_25.16
wsrep_provider/usr/lib64/galera/libgalera_smm.so

Cheers,

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.