Skip to content

Instantly share code, notes, and snippets.

@ToanPV90
Created April 1, 2019 01:18
Show Gist options
  • Save ToanPV90/a5f9dbfd9238204220c97e76b4df42ac to your computer and use it in GitHub Desktop.
Save ToanPV90/a5f9dbfd9238204220c97e76b4df42ac to your computer and use it in GitHub Desktop.
So we decide to remove the mysql server and reinstall again, below are the step that we were done.
sudo apt-get remove --purge mysql*
sudo apt-get purge mysql*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get remove dbconfig-mysql
sudo apt-get dist-upgrade
sudo apt-get install mysql-server
if still not working for you, please check any mysql process running on your server, it can be view by using top command and service mysql stop, otherwise try step3 before going through step 1 and 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment