使用MySQL-Server5.5在服务器上安装mysql-libs

问题描述:

我尝试在我的服务器上安装ReviewBoard,但我一直收到以下错误。

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

操作系统是Centos 6.任何人都可以向我解释我应该做什么来解决这个问题?我读了,我应该先卸载MySQL服务器,但我有许多网站从它运行,所以这是一个不行。你建议我做什么?有没有办法绕过这个?

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?

种类问题,
EZFrag

Kind Regards, EZFrag

好吧,这是CentOS 6中MySQL包的一个常见问题。Yum正试图通过安装 mysql-libs-5.1.69-1.el6_4.x86_64 。此程序包与包 MySQL55-server-5.5.32-1.cp1136.x86_64 中的文件冲突。

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.

有一种方法来解决这个问题,而不破坏你的rpm数据库或卸载mysql55,只需从mysql的el6(CentOS和RHEL6是完全二进制兼容)下载mysql兼容性libs。获取 MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm (只需google),然后使用以下命令安装此rpm: rpm -ihv MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm

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.

之后,您可以安装ReviewBoard,而不必尝试安装mysql51 libs以满足依赖性。

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

以下是MySQL提供的官方包的链接: MySQL共享compat

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