DEV Community

Discussion on: How to access the MySQL CLI With MAMP

Collapse
 
senhleeiclee profile image
senh lee

It appears your information is valid for MAMP only, not MAMP PRO. Would you like to verify that ! I still couldn't get to MAMP PRO MySql.

Collapse
 
devzom profile image
Jacob

That's true, MAMP PRO is stored in '~/' folder as MAMP folder
so should open it by

cd ~/MAMP/bin/ && mysql -uroot -p
Enter fullscreen mode Exit fullscreen mode
Collapse
 
fozem profile image
Fov Zem

I have MAMP Pro on Ventura (though I started with just MAMP back on Catalina but upgraded within weeks), and my ~/MAMP PRO directory doesn't have a bin directory.

I do have a /Applications/MAMP/Library/bin/mysql file, so I don't know why @senhleeiclee's path is different. Did macOS or MAMP Pro change somehow? Or do the paths depend on when you install/upgrade? This seems like such a mess 😆 that shouldn't exist in the first place. Silly users wanting consistent sensible file paths.