mysql-libs-5.1 conflicts with file from package

mysql server 安装的mysql 5.5,但是其他的应用需要安装mysql 5.1的库,不需要降级mysql,安装 MySQL-shared-compat 就可以了

到https://www.percona.com找到相应版本号的rpm包

例如我的是 5.5.16

https://www.percona.com/downloads/Percona-Server-5.5/Percona-Server-5.5.33-31.1/RPM/rhel6/x86_64/

rpm -ivh Percona-Server-shared-compat-5.5.16-rel22.0.189.rhel6.x86_64.rpm

你可能感兴趣的:(mysql-libs-5.1 conflicts with file from package)