首页 > 资讯列表 > 编程/数据库 >> 数据库操作教程

linux下安装MYSQL错误:conflicts with file from package mysql-libs-*的解决方法

数据库操作教程 2014-12-06 03:12:03 转载来源: 网络整理/侵权必删

本文向大家讲解了linux下安装MYSQL错误:conflicts with file from package mysql-libs-*的解决方法 ,感兴趣的同学参考下。 安装MYSQL时错误如下: [root@localhost opt]# rpm -ivh MySQL-server-5.5.32-1.el6.x86_64.rpm    Preparing...                ########################################### [100%]       file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.5.32-1.el6.x86_64 conflicts with file from package mysql

本文向大家讲解了linux安装MYSQL错误:conflicts with file from package mysql-libs-*的解决方法 ,感兴趣的同学参考下。

安装MYSQL时错误如下:

[root@localhost opt]# rpm -ivh MySQL-server-5.5.32-1.el6.x86_64.rpm   
Preparing...                ########################################### [100%]  
    file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.5.32-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64  
    file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.5.32-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64  
    file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.5.32-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64  
    file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.5.32-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64  
    file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.5.32-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64  
    file /usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5.5.32-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64  
    file /usr/share/mysql/charsets/cp850.xml from install of MySQL-server-5.5.32-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64  
    file /usr/share/mysql/charsets/cp852.xml from install of MySQL-server-5.5.32-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 

错误原因:

原因由包冲突引起的!

解决方法:

先移除冲突的libs包,再进行安装。

yum -y remove mysql-libs-5.1.61*

-y的意思就是不用询问是否remove卸载完成之后,

然后再执行命令

rpm -ivh MySQL-server-5.5.32-1.el6.x86_64.rpm 


标签: linux 安装 MYSQL 错误 conflicts with file from package


声明:本文内容来源自网络,文字、图片等素材版权属于原作者,平台转载素材出于传递更多信息,文章内容仅供参考与学习,切勿作为商业目的使用。如果侵害了您的合法权益,请您及时与我们联系,我们会在第一时间进行处理!我们尊重版权,也致力于保护版权,站搜网感谢您的分享!

站长搜索

http://www.adminso.com

Copyright @ 2007~2024 All Rights Reserved.

Powered By 站长搜索

打开手机扫描上面的二维码打开手机版


使用手机软件扫描微信二维码

关注我们可获取更多热点资讯

站长搜索目录系统技术支持