[MysqL@localhost ~]$ yum remove MysqL MysqL-server MysqL-libs compat-MysqL51
[MysqL@localhost ~]$ rpm -qa|grep -i MysqL
MysqL-libs-5.1.73-8.el6_8.x86_64
MysqL-5.1.73-8.el6_8.x86_64
MysqL-server-5.1.73-8.el6_8.x86_64
perl-DBD-MysqL-4.013-3.el6.x86_64
qt-MysqL-4.6.2-28.el6_5.x86_64
[root@localhost MysqL]# rpm -e --nodeps MysqL-libs-5.1.73-8.el6_8.x86_64
[root@localhost MysqL]# rpm -e --nodeps MysqL-5.1.73-8.el6_8.x86_64
[root@localhost MysqL]# rpm -e --nodeps MysqL-server-5.1.73-8.el6_8.x86_64
[root@localhost MysqL]# rpm -e --nodeps perl-DBD-MysqL-4.013-3.el6.x86_64
[root@localhost MysqL]# rpm -e --nodeps qt-MysqL-4.6.2-28.el6_5.x86_64
[root@localhost MysqL]# whereis MysqL
MysqL: /usr/lib64/MysqL /usr/share/MysqL
[root@localhost MysqL]# rm -rf /usr/lib64/MysqL/[root@localhost MysqL]# rm -rf /usr/share/MysqL/
原文链接:https://www.f2er.com/centos/376620.html