Last Updated: February 25, 2016
·
5.569K
· nsteiner

Using MySQL command line with MAMP

From: http://blog-en.mamp.info/2009/08/using-mysql-command-line-with-mamp.html

1) Run MAMP or MAMP PRO

2) In terminal, type use:

/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot

If you changed the password to "apple" then the end of the above line would be

-papple