Craft CLI RC1 Connectivity Issues with MAMP Pro
I gave everything a try, but the only thing that worked for me was ensuring "Allow network access to MySQL" was ticked in MAMP. 

Screenshot: http://c42.co/Ur30EJ