Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Repair PHP/MySQL connections in 10.4.4' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Repair PHP/MySQL connections in 10.4.4
Authored by: doctype on Jan 13, '06 07:24:09AM
Apparently, the location of mysql.sock has been moved for some security reasons on MAC OS X Server and Apple uses the same php module on Client. Apple provides a Knowledge Base article:

Mac OS X Server 10.4: Issues connecting PHP to MySQL

– keep in mind, for Client, you have to turn around the settings, so either
socket=/var/mysql/mysql.sock in my.cnf, or
mysql.default_socket = /tmp/mysql.sock in php.ini

[ Reply to This | # ]
10.4: Repair PHP/MySQL connections in 10.4.4
Authored by: beth on Jan 15, '06 07:57:34PM

I did this - changed the link to point to /tmp and it worked great!



[ Reply to This | # ]