Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.