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.

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to