mysql-libs和MySQL-server冲突解决_MySQL
mysql-libs和MySQL-server冲突解决
安装php-mysql
Yum install php-mysql
出现
from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL-server-5.6.13-1.linux_glibc2.5.x86_64
由于服务器先安装和配置好了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_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.
方法可行。
bitsCN.com推荐阅读
-
VMware和XAMPP同占用443端口发生冲突导致无法使用的解决办法图解
-
Android之ScrollView嵌套ListView和GridView冲突的解决方法
-
ThinkPHP的cookie和session冲突造成Cookie不能使用的解决方法
-
解决Mysql收缩事务日志和日志文件过大无法收缩问题
-
JS中双击和单击事件冲突问题的解决办法
-
Windows下MySQL服务无法停止和删除的解决办法
-
模板视图和AngularJS之间冲突的解决方法
-
crentso7.4下rpm方式安装MySQL5.7.22出现安装冲突conflicts的解决办法
-
Spring Cloud开发人员如何解决服务冲突和实例乱窜?(IP实现方案)
-
jsp和servlet操作mysql中文乱码问题的解决办法