MySQL error installing Drupal

Jasper Frumau jasperfrumau at gmail.com
Wed Jan 13 12:00:58 PST 2010


Here is my PHP Ini output: http://pastebin.com/m6f9b6e34 . MySQL socket and
MySQLi socket are not set it seems, which is odd.  PDO_MySQL is set, but not
correct it seems. So I guess I need to add /opt/local/var/run/mysql5/
mysqld.sock in these three places I guess?


On Wed, Jan 13, 2010 at 9:30 PM, Ryan Schmidt <ryandesign at macports.org>wrote:

> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100113/3fc56505/attachment.html>


More information about the macports-users mailing list