set mysql path mamp code example Example: mamp mysql path mac /Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot