关闭

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

标签: mysqlfile
3244人阅读 评论(1) 收藏 举报
分类:



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*根据具体报错情况写,“ * ”是通配符


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:276417次
    • 积分:2968
    • 等级:
    • 排名:第11822名
    • 原创:45篇
    • 转载:87篇
    • 译文:0篇
    • 评论:33条
    文章分类