Comments - Installing MariaDB with yum/dnf

11 years, 4 months ago akjhasf asdjna

Here's a dirty fix:

yum install php-mysql ruby-mysql

Endure the nagging... hopefully it has downloaded the RPM's... else, get them, then...

rpm --force -i /var/cache/yum/x86_64/17/updates/packages/mysql-libs-5.5.29-1.fc17.x86_64.rpm

Now fedora thinks it's installed and won't nag. Much.

yum install php-mysql ruby-mysql

and everything else...

Plan B is to not use the repos and manually compile and install to /usr/local...

PS. This markdown sucks - or at least, the help page does. 4 attempts and I still can't get quoting right. Screw it.

 
11 years, 3 months ago Sven Wesley

There are more conflicts, for example Postfix can report dependency problems. This is what I did to get MariaDB 10 installed in CentOS 6.3,

#include "disclaimer.h"
// I might have forgotten a step, and your system is not mine.
// Go figure...
  • Add a repo as described at the top of this page.
  • If PHP is going to be used on the same server (lord forgive if) run yum install php-mysql first.
  • Run yum install MariaDB-server , this will create conflicts, but the dependency packages are already downloaded and they are listed in the output, for example these where the ones I've got:
       (1/10): MariaDB-10.0.1-centos6-i686-server.rpm     
       (2/10): audit-libs-2.2-2.el6.i686.rpm           
       (3/10): cracklib-2.8.16-4.el6.i686.rpm        
       (4/10): db4-4.7.25-17.el6.i686.rpm          
       (5/10): keyutils-libs-1.4-4.el6.i686.rpm       
       (6/10): krb5-libs-1.9-33.el6_3.3.i686.rpm        
       (7/10): libaio-0.3.107-10.el6.i686.rpm                   
       (8/10): openssl-1.0.0-25.el6_3.1.i686.rpm    
       (9/10): pam-1.1.1-10.el6_2.1.i686.rpm         
       (10/10): perl-DBI-1.609-4.el6.x86_64.rpm   

They are all downloaded into the /var/cache/yum/x86_64/6/updates/packages and /var/cache/yum/x86_64/6/base/packages folder. Install them manually with rpm -i [package] , you have to find the right order yourself.

  • Install the MariaDB package with rpm -i --force MariaDB-....
  • Install the client package with yum install mysql-client .

Start the service and run the /usr/bin/mysql_secure_installation .

Those where my two cents.

 
11 years, 4 months ago Elena Stepanova

I expect the problem should be fixed along with MDEV-3971 which was initially reported for CentOS.

 
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.