Skip to content

Instantly share code, notes, and snippets.

@jonatanrdsantos
Created April 14, 2016 21:39
Show Gist options
  • Save jonatanrdsantos/62199ef9907c9c7e016d0dd05edf029c to your computer and use it in GitHub Desktop.
Save jonatanrdsantos/62199ef9907c9c7e016d0dd05edf029c to your computer and use it in GitHub Desktop.
To make MAMP MySQL works in command line
$ sudo mkdir /var/mysql
$ cd /var/mysql
$ sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment