connect mysql to mamp code example Example: mamp connect to mysql /Applications/MAMP/Library/bin/mysql -u root -proot