Created
May 12, 2014 08:51
-
-
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.
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
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