mysql卸載問題

前幾天在虛擬機上裝mysql,版本爲MySQL-client-community-5.1.55-1.rhel5.i386.rpm、
 MySQL-server-community-5.1.55-1.rhel5.i386.rpm。直接用rpm -ivh安裝的,但是安裝完後想卸載的時候出錯,報錯信息爲error: package mysql is not installed 一直很糾結,後來在網上查出來資料解決辦法爲直接貼代碼

[root@test soft]# rpm -qa | grep -i mysql
MySQL-client-community-5.1.55-1.rhel5
MySQL-server-community-5.1.55-1.rhel5
[root@test soft]#  rpm -e MySQL-client-community
[root@test soft]#  rpm -e MySQL-server-community
[root@test soft]# rpm -qa | grep -i mysql

參考文章
 http://www.cnblogs.com/forward/archive/2010/03/21/1691255.html

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