Maison  >  Article  >  base de données  >  /usr/share/mysql/charsets/latin5.xml from install of MySQL-s

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

WBOY
WBOYoriginal
2016-06-07 15:24:271576parcourir

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

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn