sudo apt-get autoremove --purge mysql-server sudo apt-get remove mysql-common
sudo rm -rf /etc/mysql/  /var/lib/mysql
#清理残留数据
dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P  
sudo apt autoremove
sudo apt autoclean

相关文章:

  • 2022-03-05
  • 2021-12-23
  • 2021-10-08
  • 2021-10-07
  • 2021-07-10
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
猜你喜欢
  • 2022-01-10
  • 2021-11-10
  • 2022-01-08
  • 2022-02-08
  • 2021-12-12
  • 2021-05-16
  • 2022-12-23
相关资源
相似解决方案