rpm -qa|grep -i mysql
mysql80-community-release-el7-3.noarch
mysql-community-common-8.0.26-1.el7.x86_64
mysql-community-client-8.0.26-1.el7.x86_64
mysql-community-libs-8.0.26-1.el7.x86_64
mysql-community-libs-compat-8.0.26-1.el7.x86_64
mysql-community-server-8.0.26-1.el7.x86_64
mysql-community-client-plugins-8.0.26-1.el7.x86_64
rpm -ev mysql-community-client-8.0.26-1.el7.x86_64 --nodeps
rpm -ev mysql-community-server-8.0.26-1.el7.x86_64 --nodeps
rpm -ev mysql-community-client-plugins-8.0.26-1.el7.x86_64 --nodeps
find / -name mysql
rm -rf /usr/lib/mysql
rm -rf /usr/lib64/mysql
rm -rf /usr/include/mysql
rm -rf /etc/my.cnf
检查是够卸载完成:
rpm -qa|grep -i mysql
没有任何结果的话,就说明卸载完成!
版权说明 : 本文为转载文章, 版权归原作者所有 版权申明
原文链接 : https://blog.csdn.net/qq_38689263/article/details/120665263
内容来源于网络,如有侵权,请联系作者删除!