安裝mysql報錯-MySQL conflicts with ....

安裝5.1mysql報錯

[root@localhost src]# rpm -ivh MySQL-server-community-5.1.56-1.rhel5.i386.rpm
error: Failed dependencies:
        MySQL conflicts with mysql-5.0.45-7.el5.x86_64
        MySQL conflicts with mysql-5.0.45-7.el5.i386

檢查系統有關mysql包

[root@localhost src]# rpm -qa | grep mysql
mysql-5.0.45-7.el5
mysql-bench-5.0.45-7.el5
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-devel-5.0.45-7.el5
mod_auth_mysql-3.0.0-3.1
mysql-devel-5.0.45-7.el5
php-mysql-5.1.6-20.el5
mysql-5.0.45-7.el5
mysql-connector-odbc-3.51.12-2.2

解決方法:

[root@localhost src]# yum -y remove mysql

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章