前言:
目前朋友们对“centos卸掉安装的程序”都比较重视,咱们都想要知道一些“centos卸掉安装的程序”的相关文章。那么小编同时在网络上搜集了一些有关“centos卸掉安装的程序””的相关知识,希望姐妹们能喜欢,各位老铁们一起来学习一下吧!1.查看MySQL安装程序
[root@localhost back-end]# rpm -qa|grep -i mysqlmysql-community-libs-8.0.27-1.el7.x86_64mysql80-community-release-el7-3.noarchmysql-community-common-8.0.27-1.el7.x86_64mysql-community-client-8.0.27-1.el7.x86_64mysql-community-client-plugins-8.0.27-1.el7.x86_64mysql-community-server-8.0.27-1.el7.x86_642.卸载以上服务
rpm -ev --nodeps mysql-community-libs-8.0.27-1.el7.x86_64rpm -ev --nodeps mysql80-community-release-el7-3.noarchrpm -ev --nodeps mysql-community-common-8.0.27-1.el7.x86_64rpm -ev --nodeps mysql-community-client-8.0.27-1.el7.x86_64rpm -ev --nodeps mysql-community-client-plugins-8.0.27-1.el7.x86_64rpm -ev --nodeps mysql-community-server-8.0.27-1.el7.x86_64
卸载完成后再次执行rpm -qa|grep -i mysql命令,确保卸载完成
3.查找目录并删除
[root@localhost back-end]# find / -name mysql/var/lib/mysql/var/lib/mysql/mysql/usr/lib64/mysql[root@localhost back-end]# rm -rf /var/lib/mysql[root@localhost back-end]# rm -rf /var/lib/mysql/mysql[root@localhost back-end]# rm -rf /usr/lib64/mysql
至此,MySQL卸载已经完成。
版权声明:
本站文章均来自互联网搜集,如有侵犯您的权益,请联系我们删除,谢谢。
标签: #centos卸掉安装的程序