服务器:Ubuntu18.04 

查看MySQL的依赖项:dpkg --list|grep mysql

Ubuntu18.04完全卸载mysql5.7

 

要删除上面的这些。

开始卸载:

sudo apt-get autoremove --purge mysql-server

sudo apt-get remove mysql-common 

清空数据:

dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P 

整个过程YES。

直到这样:

Ubuntu18.04完全卸载mysql5.7

相关文章:

  • 2021-12-31
  • 2022-12-23
  • 2021-11-18
  • 2021-11-23
  • 2022-01-01
  • 2021-12-15
  • 2021-07-14
猜你喜欢
  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-07-20
  • 2021-12-03
相关资源
相似解决方案