Skip to content

Instantly share code, notes, and snippets.

@BKeanu1989
Last active February 13, 2018 10:50
Show Gist options
  • Save BKeanu1989/44a4af21e52e7d1bb2bcb88b53508b00 to your computer and use it in GitHub Desktop.
Save BKeanu1989/44a4af21e52e7d1bb2bcb88b53508b00 to your computer and use it in GitHub Desktop.
ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock
/Applications/MAMP/Library/bin/mysql
/usr/local/mysql/bin/mysql -u {username} -p {databasename} < file_name.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment