当前位置:   article > 正文

mysql libs 5.5_解决 mysql-libs-5.1 conflicts with file from package MySQL-server-5.5

error: mysql55w-libs conflicts with mysql-libs-5.1.73-8.el6_8.i686

最初是想安装percona-xtrabackup-debuginfo-2.2.12-1.el6.x86_64.rpm(mysql数据备份), 由此引发的一系列问题。

系统环境: CentOS release 6.3 (Final)

系统中已经安装了: MySQL-server-5.5.27-1.rhel5.x86_64

安装percona-xtrabackup-debuginfo-2.2.12-1.el6.x86_64.rpm

需要安装依赖包: perl-DBD-MySQL-4.013-3.el6.x86_64.rpm 和 mysql-libs.x86_64 0:5.1.73-5.el6_6.rpm

yum install perl-DBD-MySQL, 报错如下: 要安装的包mysql-libs-5.1.73与MySQL-server-5.5.27-1.rhel5.x86_64冲突

Transaction Check Error:

file /usr/share/mysql/charsets/README from install of mysql-libs-5.1.73-5.el6_6.x86_64 conflicts with file from package MySQL-server-5.5.27-1.rhel5.x86_64

file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.73-5.el6_6.x86_64 conflicts with file from package MySQL-server-5.5.27-1.rhel5.x86_64

严重的问题是: 不能卸载MySQL-server-5.5.27-1.rhel5.x86_64,如果卸载MySQL-server-5.5.27再重新安装的话,则线上数据库将被破坏,需要重新恢复

解决方法: 安装MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm

下载地址: https://downloads.mariadb.com/archive/index/p/mysql/v/5.5.32  ,

注意对应的操作系统,*系统版本(linux还是redhat linux)*,*32位还是64位* , rhel5还是el6

再重新安装perl-DBD-MySQL 不会报错

yum install perl-DBD-MySQL

再安装percona-xtrabackup-debuginfo-2.2.12-1.el6.x86_64.rpm

阅读(2029) | 评论(0) | 转发(0) |

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/88588
推荐阅读
相关标签
  

闽ICP备14008679号