uninstall mysql ubuntu command line code example
Example 1: remove mysql
sudo apt-get remove --purge mysql* -y
sudo apt-get autoremove -y
sudo apt-get autoclean
Example 2: mysql remove ubuntu
apt-get --purge remove "mysql*"
sudo apt-get remove --purge mysql* -y
sudo apt-get autoremove -y
sudo apt-get autoclean
apt-get --purge remove "mysql*"