您的位置:首页 > 数据库 > MySQL

重新安装mysql时,与之前版本冲突的处理问题

2012-03-25 22:31 621 查看
yum install mysql 时,报错如下:

事务检验出错:
file /usr/bin/mysql from install of mysql-5.5.21-1.fc16.i686 conflicts with file from package MySQL-client-5.1.57-1.glibc23.i386
file /usr/bin/msql2mysql from install of mysql-5.5.21-1.fc16.i686 conflicts with file from package MySQL-client-5.1.57-1.glibc23.i386
file /usr/bin/mysql_find_rows from install of mysql-5.5.21-1.fc16.i686 conflicts with file from package MySQL-client-5.1.57-1.glibc23.i386
file /usr/bin/mysql_waitpid from install of mysql-5.5.21-1.fc16.i686 conflicts with file from package MySQL-client-5.1.57-1.glibc23.i386
file /usr/bin/mysqlaccess from install of mysql-5.5.21-1.fc16.i686 conflicts with file from package MySQL-client-5.1.57-1.glibc23.i386
file /usr/bin/mysqladmin from install of mysql-5.5.21-1.fc16.i686 conflicts with file from package MySQL-client-5.1.57-1.glibc23.i386
file /usr/bin/mysqlbinlog from install of mysql-5.5.21-1.fc16.i686 conflicts with file from package MySQL-client-5.1.57-1.glibc23.i386
file /usr/bin/mysqlcheck from install of mysql-5.5.21-1.fc16.i686 conflicts with file from package MySQL-client-5.1.57-1.glibc23.i386
file /usr/bin/mysqldump from install of mysql-5.5.21-1.fc16.i686 conflicts with file from package MySQL-client-5.1.57-1.glibc23.i386


解决方案:

yum -y remove MySQL-client-5.1.57*


其中 -y表示同意remove ,而 MySQL-client-5.1.57*根据具体报错情况写,“ * ”是通配符
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: