Comments - Installing MariaDB with yum/dnf

11 years, 1 month ago Sven Wesley
This comment has the status of 'removed' and can only be seen by you.

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.

 
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.