Home ›
MAMP MySQL connection problemsMAMP MySQL connection problems
Submitted by Benjamin Melançon on February 15, 2008 - 8:49am
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 --
/private/etc/php.ini [line 720] so that mysql.default_socket = [blank] became mysql.default_socket =
/private/tmp/mysql.sock.
-- but I don't think this has anything do do with
Resolution
Searched words:
mac os x mysql problems password fails
mamp mysql not connecting
Comments
Post new comment