Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installation of MariaDB on Centos 6.5 X86_64

Tags:

mariadb

When i am installing MariaDB on Centos 6.5 via "yum install MariaDB-server MariaDB-client" then server shown the "Transaction Check Error:

file /usr/share/mysql/czech/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/danish/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/dutch/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/english/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/estonian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/french/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/german/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/greek/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/hungarian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/italian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/japanese/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/korean/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/norwegian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/polish/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/portuguese/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/romanian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/russian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/serbian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/slovak/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/spanish/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/swedish/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/ukrainian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /etc/my.cnf from install of MariaDB-common-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64

Error Summary -------------

" please suggest me for the same.

like image 342
Bhoopesh Singh Avatar asked Dec 07 '22 02:12

Bhoopesh Singh


2 Answers

Had the same problem, for me this is what worked:

run rpm -qa | grep -i mysql which gave me some packages still installed like:

MySQL-devel-advanced-5.5.27-1.el6.x86_64
MySQL-shared-advanced-5.5.27-1.el6.x86_64
mysql-connector-odbc-5.3.4-1.x86_64
MySQL-client-advanced-5.5.27-1.el6.x86_64

so

yum remove MySQL-devel-advanced-5.5.27-1.el6.x86_64
yum remove ...

...you get the point

like image 194
tostasqb Avatar answered Dec 11 '22 11:12

tostasqb


what's the order you install the MariaDB packages ?

did you remove mysql-libs first ?

rpm -e --nodeps mysql-libs

then try

yum install MariaDB-client MariaDB-common MariaDB-compat MariaDB-devel MariaDB-server MariaDB-shared

You can also install it by running:

rpm -ivh MariaDB-*
like image 20
p4guru Avatar answered Dec 11 '22 10:12

p4guru