Skip to content

Instantly share code, notes, and snippets.

@habibun
Created February 2, 2018 17:48
Show Gist options
  • Select an option

  • Save habibun/4a8bdf3e7eb0205ee361dba4666a6609 to your computer and use it in GitHub Desktop.

Select an option

Save habibun/4a8bdf3e7eb0205ee361dba4666a6609 to your computer and use it in GitHub Desktop.
Remove mysql 5.7 completely in ubuntu 16.04
sudo service mysql stop && sudo killall -9 mysql && sudo killall -9 mysqld && sudo apt-get remove --purge mysql-server mysql-client mysql-common && sudo apt-get autoremove && sudo apt-get autoclean && sudo deluser mysql && sudo rm -rf /var/lib/mysql && sudo apt-get purge mysql-server-core-5.5 && sudo apt-get purge mysql-client-core-5.5 && sudo rm -rf /var/log/mysql && sudo rm -rf /etc/mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment