If you in any cases need to remove or uninstall MySQL from Ubuntu, follow the following steps. Before running following commands make sure MySql is not running.
sudo apt-get remove --purge mysql*sudo apt-get purge mysql*sudo apt-get autoremovesudo apt-get autocleansudo apt-get remove dbconfig-mysqlsudo apt-get dist-upgrade


