← Back to team overview

maria-developers team mailing list archive

Re: MariaDB RPMs

 

Hi, Rich!

On Jan 24, Rich Prohaska wrote:
> Suppose that we have a RHEL5 machine running and we want to install
> MariaDB on it.  Unfortunately, it conflicts with files installed by
> the mysql package.
> 
> # rpm -i MariaDB-5.5.28a-centos5-x86_64-common.rpm
> warning: MariaDB-5.5.28a-centos5-x86_64-common.rpm: Header V3 DSA
> signature: NOKEY, key ID 1bb943db
> 	file /etc/my.cnf from install of MariaDB-common-5.5.28a-1.x86_64
> conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
> 	file /usr/share/mysql/charsets/Index.xml from install of
> MariaDB-common-5.5.28a-1.x86_64 conflicts with file from package
> mysql-5.0.77-4.el5_6.6.x86_64
> 	file /usr/share/mysql/charsets/cp1250.xml from install of
> MariaDB-common-5.5.28a-1.x86_64 conflicts with file from package
> mysql-5.0.77-4.el5_6.6.x86_64
> 	file /usr/share/mysql/charsets/cp1251.xml from install of
> MariaDB-common-5.5.28a-1.x86_64 conflicts with file from package
> mysql-5.0.77-4.el5_6.6.x86_64
> 
> Unfortunately, a lot of other packages require the mysql package.
> What is a good approach to solving this problem?

A good approach is to use yum, not rpm. And to install MariaDB-compat.
MariaDB-compat provides mysql-5.1 compatible shared libraries.
And yum can install and uninstall few packages in a transaction, without
breaking other packages, that might require mysql libraries.

Regards,
Sergei


References