Getting Drupal to connect on MAMP
I had to use the host name instead of localhost, and to provide the non-standard port number.
host: Ebony-II.local
port: 8889
Note: the host name will be whatever your computer calls itself plus .local, you can get it exactly from MAMP's PHPMyAdmin under system variable settings or some such (a huge long list of settings, that is not the run-time settings one).
I changed a line in php.ini --