how to uninstall mysql ubuntu server code example
Example 1: uninstall mysql 8 ubuntu 20.04
sudo apt-get remove --purge mysql*
Example 2: mysql remove ubuntu
apt-get --purge remove "mysql*"
sudo apt-get remove --purge mysql*
apt-get --purge remove "mysql*"