uninstall mysql ubuntu 18 04 stackoverflow

Solutions on MaxInterview for uninstall mysql ubuntu 18 04 stackoverflow by the best coders in the world

showing results for - "uninstall mysql ubuntu 18 04 stackoverflow"
Marwa
17 Jan 2020
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