Skip to content

Instantly share code, notes, and snippets.

@GromNaN
Created February 20, 2011 23:06
Show Gist options
  • Save GromNaN/836408 to your computer and use it in GitHub Desktop.
Save GromNaN/836408 to your computer and use it in GitHub Desktop.
# To solve this issue with XAMPP on Mac:
# PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock)
ln -s /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock /tmp/mysql.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment