To use the MySQL command line with MAMP or MAMP PRO, perform the following steps
exmaple to show all your databases with show databases;.
- Start MAMP or MAMP PRO
- Start the server
echo $PATH- Open Terminal (Applications -> Utilities)
Type in: (one line)
/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot
沒有留言:
張貼留言