Created
December 16, 2013 23:26
-
-
Save jeffjohnson9046/7996765 to your computer and use it in GitHub Desktop.
Use the command below to clean up MySQL whenever the host doesn't shut down gracefully
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you see this error when trying to start MySQL: "Another MySQL daemon already running with the same unix socket.", run this to fix it: | |
sudo mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment