欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

/usr/share/mysql/charsets/latin5.xml from install of MySQL-s

程序员文章站 2022-04-27 08:37:21
...

安装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