If drush can't find the database

If drush can't find the database put this in your settings.php 

 

'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock',

'host' => '127.0.0.1',