mysql-libs和MySQL-server冲突解决
安装php-mysql
Yum install php-mysql
出现
from install of mysql-libs-5.1.69-1.el6_4.x86_ conflicts with file from package MySQL-server-5.6.13-1.linux_glibc2.5.x86_
由于服务器先安装和配置好了MYSQL-SERVER
google到一外国网页的解决方法如下:
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_. This package conflicts with files from package MySQL55-server-5.5.32-1.cp1136.x86_.
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_.rpm (just google for it) and install this rpm using: rpm -ihv MySQL-shared-compat-5.5.32-2.el6.x86_.rpm.
方法可行。
bitsCN.comCopyright © 2019- irta.cn 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务