MySQL error installing Drupal

Ryan Schmidt ryandesign at macports.org
Wed Jan 13 10:30:27 PST 2010


Ok, so you discovered MacPorts MySQL is running and its socket is in the usual place for MacPorts MySQL, /opt/local/var/run/mysql5/mysqld.sock. That's the usual place MacPorts PHP looks for it, too. Perhaps you told MacPorts PHP to look for the socket somewhere else. Edit your php.ini and tell it the socket is located at the above path. The three ini settings to edit are mysql.default_socket, mysqli.default_socket and pdo_mysql.default_socket.



More information about the macports-users mailing list