how to remove mysql completely from ubuntu code example
Example 1: uninstall mysql 8 ubuntu 20.04
sudo apt-get remove --purge mysql*
Example 2: remove mysql
sudo apt-get remove --purge mysql* -y
sudo apt-get autoremove -y
sudo apt-get autoclean
Example 3: mysql remove ubuntu
apt-get --purge remove "mysql*"