Posts

Showing posts with the label MySQL

[MySQL with MAMP] Using MySQL with MAMP in a Terminal

Image
  To use the MySQL command line with MAMP or MAMP PRO , perform the following steps: 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 Now you can use the MySQL command line. For exmaple to show all your databases with show databases; .