Installing mysql-libs on server with MySQL-Server5.5

EZFrag picture EZFrag · Jul 8, 2013 · Viewed 9.8k times · Source

I'm trying to install ReviewBoard on my server, but I keep on getting the following errors.

  file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64

The OS is Centos 6. Could anyone please explain to me what I should do to fix this issue? I have read that I should uninstall the MySQL server first, but I have numerous websites running from it, so it is a no go. What do you suggest I do? Is there a way I can bypass this?

Kind Regards, EZFrag

Answer

Flo Doe picture Flo Doe · Jul 15, 2013

Well, this is a common problem with MySQL packages within CentOS 6. Yum is trying to satisfy requirements by installing mysql-libs-5.1.69-1.el6_4.x86_64. This package conflicts with files from package MySQL55-server-5.5.32-1.cp1136.x86_64.

There is a way to fix this without breaking your rpm database or uninstalling mysql55, just download mysql compatibility libs from mysql for el6 (CentOS and RHEL6 are full binary compatible). Get MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm (just google for it) and install this rpm using: rpm -ihv MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm.

After this you can install ReviewBoard without yum trying to install mysql51 libs for satisfying dependencies.

Here is the link to the official package provided by MySQL: MySQL shared compat