centos 安装mysql冲突解决方法

[root@centos-50 servers]# rpm -ivh mysql-server-5.5.33-1.linux2.6.x86_64.rpm

Preparing... ########################################### [100%]

file /usr/share/mysql/charsets/README from install of MySQL-server-5.5.33-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64

file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.5.33-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64

file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.5.33-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64

file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.5.33-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64

file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.5.33-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64

file /usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.5.33-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64

file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.5.33-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64

 

解决办法:

卸载mysql:rpm -e --nodeps mysql-libs-5.1.*

posted @ 2016-01-29 22:37  tiandi2050  阅读(300)  评论(0编辑  收藏  举报