Ubuntu彻底删除MysqL
@(学习笔记)
sudo -i service MysqL stop killall -KILL MysqL MysqLd_safe MysqLd apt-get --yes purge MysqL-server MysqL-client apt-get --yes autoremove --purge apt-get autoclean deluser --remove-home MysqL delgroup MysqL rm -rf /etc/apparmor.d/abstractions/MysqL /etc/apparmor.d/cache/usr.sbin.MysqLd /etc/MysqL /var/lib/MysqL /var/log/MysqL* /var/log/upstart/MysqL.log* /var/run/MysqLd updatedb exit
sudo apt-get purge MysqL-server MysqL-client MysqL-common MysqL-server-core-5.5 MysqL-client-core-5.5 sudo rm -rf /etc/MysqL /var/lib/MysqL sudo apt-get autoremove sudo apt-get autoclean原文链接:https://www.f2er.com/ubuntu/355523.html