MAMP: Connect to MySQL via Command Line - Mac OS X

Discussion for guides including MAMP official & unofficial documentation. User submitted guides can be moved here by moderators.
Post Reply
mampsupportmod
Site Admin
Posts: 156
Joined: Wed Jan 20, 2021 3:06 am

MAMP: Connect to MySQL via Command Line - Mac OS X

Post by mampsupportmod »

1. Start MySQL in MAMP.

2. In Mac OS X Terminal, type the following command.

Code: Select all

/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot
MAMP Support Forums is an unofficial support forum covering MAMP & MAMP Pro solution stacks.
Post Reply