如何在ubuntu上清理/卸载/移除MySQL安装

如何在ubuntu上清理/卸载/移除MySQL安装

sudo service mysql stop  #or mysqld
sudo killall -9 mysql
sudo killall -9 mysqld
sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean
sudo deluser mysql
sudo rm -rf /var/lib/mysql


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *