Skip to content

Instantly share code, notes, and snippets.

@selahssea-zz
Created September 22, 2013 14:51
Show Gist options
  • Save selahssea-zz/6660675 to your computer and use it in GitHub Desktop.
Save selahssea-zz/6660675 to your computer and use it in GitHub Desktop.
Rails Ruby mysql MAMP Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (Mysql2::Error)
sudo 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