计算机网络/计算机科学与应用/系统/运维/开发

CentOS7 下卸载MySQL

[root@VM-4-2-centos lib]# systemctl stop mysqld

[root@VM-4-2-centos lib]# 

[root@VM-4-2-centos lib]# 

[root@VM-4-2-centos lib]# systemctl status mysqld

[root@VM-4-2-centos lib]# systemctl disable mysqld

yum remove mysql mysql-server mysql-libs mysql-common

rm -rf /var/lib/mysql

rm -rf /etc/my.cnf


只要认真对待生活,终有一天,你的每一份努力,都将绚烂成花。

评论

^