1sudo service mysql stop #or mysqld
2sudo killall -9 mysql
3sudo killall -9 mysqld
4sudo apt-get remove --purge mysql-server mysql-client mysql-common
5sudo apt-get autoremove
6sudo apt-get autoclean
7sudo deluser -f mysql
8sudo rm -rf /var/lib/mysql
9sudo apt-get purge mysql-server-core-5.7
10sudo apt-get purge mysql-client-core-5.7
11sudo rm -rf /var/log/mysql
12sudo rm -rf /etc/mysql