Skip to content

Instantly share code, notes, and snippets.

@robjstanley
Created May 12, 2014 08:51
Show Gist options
  • Save robjstanley/309c92a82b45ea6af7f2 to your computer and use it in GitHub Desktop.
Save robjstanley/309c92a82b45ea6af7f2 to your computer and use it in GitHub Desktop.
Problem: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Solution: symlink MAMP MySQL to iOS MySQL.
ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment