热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

sqlservermysql冲突_mysqllibs和MySQLserver冲突

安装php-mysqlYuminstallphp-mysql出现frominstallofmysql-libs-5.1.69-1.el6_4.x86_64conflictswith

安装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.

方法可行。

Glibc版本:rpm.pbone.net

rpm -ihv MySQL-shared-compat-6.0.11-0.glibc23.x86_64.rpm



推荐阅读
author-avatar
军军CJJ_317
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有