Skip to content

Instantly share code, notes, and snippets.

@NoSkillGuy
Created May 1, 2018 07:35
Show Gist options
  • Save NoSkillGuy/2f26bdc8c27b3f0ac4a1e6d0b7f2e641 to your computer and use it in GitHub Desktop.
Save NoSkillGuy/2f26bdc8c27b3f0ac4a1e6d0b7f2e641 to your computer and use it in GitHub Desktop.
completely remove mysql in ubuntu
# A prompt will appear whether to delete all the databases. A manual Yes/No is required.
sudo apt-get -y remove --purge mysql*
sudo apt-get purge mysql*
sudo apt-get -y autoremove
sudo apt-get autoclean
sudo apt-get remove dbconfig-mysql
@NoSkillGuy
Copy link
Author

Tested in ubuntu 18.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment