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