Skip to content

Instantly share code, notes, and snippets.

@jeffjohnson9046
Created December 16, 2013 23:26
Show Gist options
  • Save jeffjohnson9046/7996765 to your computer and use it in GitHub Desktop.
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
# 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