码迷,mamicode.com
首页 > 数据库 > 详细

安装mysql-libs与mysql冲突的解决办法

时间:2016-03-24 16:37:13      阅读:466      评论:0      收藏:0      [点我收藏+]

标签:mysql-libs

yum install mysql-libs

因为之前安装了mysql5.5,40,报错如下:

Transaction Check Error:

  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.73-5.el6_7.1.x86_64 conflicts with file from package MySQL-server-5.5.40-1.rhel5.x86_64


解决办法:

下载安装对应版本的MySQL-shared和MySQL-shared-compat

wget http://cdn.mysql.com/archives/mysql-5.5/MySQL-shared-5.5.40-1.el6.x86_64.rpm
rpm -ivh MySQL-shared-5.5.40-1.el6.x86_64.rpm

wget http://cdn.mysql.com/archives/mysql-5.5/MySQL-shared-compat-5.5.40-1.el6.x86_64.rpm
rpm -ivh MySQL-shared-5.5.40-1.el6.x86_64.rpm


安装mysql-libs与mysql冲突的解决办法

标签:mysql-libs

原文地址:http://hz999.blog.51cto.com/10862775/1754810

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!