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: jsamlarose on Apr 27, '06 09:07:23AM

Took me ages to figure this out... the thing that worked for me was updating the php.ini file, and changing the line

mysql.default_socket =

to

mysql.default_socket = /tmp/mysql.sock

In my case, I had php.ini.default, and couldn't figure out why phpinfo wasn't reflecting the changes I made to the line, until I learned that I needed to resave php.ini.default as php.ini. Et voila - it worked.

Additional links I found helpful

http://docs.info.apple.com/article.html?artnum=302977
http://blog.johnjosephbachir.org/index.php?p=122

If, like me, you read through all the things posted on this page and still couldn't get it, these pages may help you out.



[ Reply to This | # ]