当前位置:Gxlcms > mysql > /usr/share/mysql/charsets/latin5.xmlfrominstallofMySQL-s

/usr/share/mysql/charsets/latin5.xmlfrominstallofMySQL-s

时间:2021-07-01 10:21:17 帮助过:72人阅读

安装mysql的时候出现如下错误: 安装命令是:rpm -ivh MySQL-server-5.0.96-1.glibc23.x86_64.rpm .0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/charsets/hp8.xml from install of MySQL

安装mysql的时候出现如下错误:

安装命令是:rpm -ivh MySQL-server-5.0.96-1.glibc23.x86_64.rpm

.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/hp8.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/koi8r.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/koi8u.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/latin1.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/latin2.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/latin5.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/latin7.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/macce.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/macroman.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/english/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/french/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/german/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of MySQL-server-5.0.96-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64

解决方法:

我把那些冲突 的包全部卸载;

yum -y remove mysql-libs-5.1.61* -y的意思就是不用询问是否remove

卸载完成之后,再安装MySQL成功了,呵呵

rpm -ivh MySQL-server-5.0.96-1.glibc23.x86_64.rpm

人气教程排行