Tuesday, November 10, 2009

Using mysql cli client in MAMP

I'm on a new contract and we're using OS X for development. Instead of getting the full LAMP stack for OS X, they use the MAMP (Mac, Apache, MySQL, PHP) collection for a one-click solution. http://www.mamp.info

MAMP includes the MySQL GUI tools, but I was wanting to use the command line version of the mysql client. Here's how...
/Applications/MAMP/Library/bin/mysql -uroot -p