uninstall mysql server in ubuntu code example
Example 1: remove mysql from ubuntu
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*"