mysql server uninstall ubuntu code example
Example 1: remove mysql from ubuntu
sudo apt-get remove --purge mysql*
Example 2: clean uninstall ubuntu-desktop from ubuntu server
$~: sudo apt purge ubuntu-desktop -y && sudo apt autoremove -y && sudo apt autoclean
Example 3: remove mysql
sudo apt-get remove --purge mysql* -y
sudo apt-get autoremove -y
sudo apt-get autoclean
Example 4: mysql remove ubuntu
apt-get --purge remove "mysql*"
Example 5: sudo apt uninstall
sudo apt-get remove pkg