📌  相关文章
📜  卸载 mysql ubuntu 18.04 stackoverflow - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:06.539000             🧑  作者: Mango

代码示例1
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 -f mysql
sudo rm -rf /var/lib/mysql
sudo apt-get purge mysql-server-core-5.7
sudo apt-get purge mysql-client-core-5.7
sudo rm -rf /var/log/mysql
sudo rm -rf /etc/mysql