centos 安装mysql冲突解决方法

# 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.*

你可能感兴趣的:(linux)