• 首先在终端中查看MySQL的依赖项:dpkg --list|grep mysql

    ubuntu卸载mysql

  • 卸载: sudo apt-get remove mysql-common

    ubuntu卸载mysql

  • 卸载:sudo apt-get autoremove --purge mysql-server-5.7

    ubuntu卸载mysql

  • 清除残留数据:dpkg -l|grep ^rc|awk '{print$2}'|sudo xargs dpkg -P

    ubuntu卸载mysql

  • 再次查看MySQL的剩余依赖项:dpkg --list|grep mysql

    ubuntu卸载mysql

  • 继续删除剩余依赖项,如:sudo apt-get autoremove --purge mysql-apt-config

    ubuntu卸载mysql

  • 首先在终端中查看MySQL的依赖项:dpkg --list|grep mysql

    ubuntu卸载mysql

  • 卸载: sudo apt-get remove mysql-common

    ubuntu卸载mysql

  • 卸载:sudo apt-get autoremove --purge mysql-server-5.7

    ubuntu卸载mysql

  • 清除残留数据:dpkg -l|grep ^rc|awk '{print$2}'|sudo xargs dpkg -P

    ubuntu卸载mysql

  • 再次查看MySQL的剩余依赖项:dpkg --list|grep mysql

    ubuntu卸载mysql

  • 继续删除剩余依赖项,如:sudo apt-get autoremove --purge mysql-apt-config

    ubuntu卸载mysql

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-03
  • 2021-09-19
  • 2021-08-29
猜你喜欢
  • 2022-12-23
  • 2021-12-16
  • 2021-09-28
  • 2021-09-19
  • 2022-03-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案