how to completely remove mysql server 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