Issues with MySQL, PHP and Mac OS X 10.4.5

I was having som weird issues with performance on my PowerBook under Mac OS X 10.4.3, so I decided to upgrade to 10.4.5.

After my machine rebooted I could no longer connect to my MySQL databases through PHP. A quick web search turned up this MacRumors forum post. I just had to change a line in my /etc/php.ini file from this:

mysql.default_socket =

to this:

mysql.default_socket = /tmp/mysql.sock

I restarted and everything was peachy.

About Stewart Macdonald

I'm a wildlife ecologist living and working in Queensland, Australia. I spend most of my time in the bush finding and photographing wildlife.
This entry was posted in An Apple a day..., Geeky Goodness. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>