MAMP: Connect to MySQL via Command Line - Mac OS X
Posted: Wed Jan 20, 2021 3:42 am
1. Start MySQL in MAMP.
2. In Mac OS X Terminal, type the following command.
2. In Mac OS X Terminal, type the following command.
Code: Select all
/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot