首頁 > 資料庫 > mysql教程 > mysql-libs和MySQL-server冲突解决_MySQL

mysql-libs和MySQL-server冲突解决_MySQL

WBOY
發布: 2016-06-01 13:30:23
原創
921 人瀏覽過

bitsCN.com

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
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板