因为Red Hat enterprise linux 6 自带了一个mysql,所以当你安装新的mysql时,就会提示错误如:

 error:Failed dependencies:

       MySQL conflicts with mysql-5.1.47-4.el6.i686

rmp -qa mysql 可以看到安装的mysql

于是将自带的版本卸载,但是卸载时出现dependencies问题,

rpm -e mysql-mysql-5.1.47-4.el6.i686

error:Failed dependencies:

libmysqlcient.so.................................................................i386

limysqlclient.so.........................................................................i386

在卸载命令后加参数以不考虑dependencies,问题的解决

rpm -e mysql-5.1.47-4.el6.i686 --nodeps

Logo

更多推荐