Ubuntu18.04 unloading mysql5.7

View MySQL dependencies:dpkg --list|grep mysql

 

To delete these above.

To begin uninstalling:

sudo apt-get autoremove --purge mysql-server

sudo apt-get remove mysql-common 

Clear Data:

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

The whole process YES.

Until this:

Guess you like

Origin www.cnblogs.com/wangyi0419/p/12078837.html