
- Start MAMP or MAMP PRO
- Start the server
- Open Terminal (Applications -> Utilities)
Type in: (one line)
/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot


The official blog of the local server environment MAMP and MAMP PRO
Using MySQL command line with MAMP