Loading... 依次执行下列指令: ``` sudo apt-get autoremove --purge mysql-server-* sudo apt-get remove mysql-server sudo apt-get autoremove mysql-server sudo apt-get remove mysql-common 清理残留数据: dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P sudo find /etc -name "*mysql*" |xargs rm -rf ``` 最后用 `dpkg -l | grep mysql` 检查 如无返回即干净卸载 Last modification:March 25th, 2020 at 03:15 pm © 允许规范转载