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推荐阅读
-
mysql-libs和MySQL-server冲突解决_MySQL
-
PHP中__autoload和Smarty冲突的简单解决方法,__autoloadsmarty
-
详解Android Libgdx中ScrollPane和Actor事件冲突问题的解决办法
-
如何解决秒杀的性能问题和超卖的讨论_MySQL
-
php和mysql中uft-8中文编码乱码的几种解决办法
-
window系统mysql无法输入和无法显示中文的解决方法
-
Mysql中文乱码及导出sql语句和Excel的相关解决方法
-
CentOS下PHP7的编译安装及MySQL的支持和一些常见问题的解决办法_PHP
-
解决 PHP 中的 __autoload 和 Smarty 冲突
-
MYSQL5.7.24安装没有data目录和my-default.ini及服务无法启动的完美解决办法