Local WordPress broken?

14 January 2006 · 1 comment

I didn’t know I had this problem till I stumbled on the answer. On checking though I found the my WordPress blog on my Powerbook just gave me an error. After updating to Mac OS X 10.4.4, you may find that the connection between PHP and MySQL running on your local webserver is broken. [Via [...]

I didn’t know I had this problem till I stumbled on the answer. On checking though I found the my WordPress blog on my Powerbook just gave me an error.

After updating to Mac OS X 10.4.4, you may find that the connection between PHP and MySQL running on your local webserver is broken.

[Via macosxhints.]

The solutions in that macosxhints article ‘Repair PHP/MySQL connections in 10.4.4′ fixed it.

I followed the instructions at the Apple Knowledgebase article but they didn’t work. I also needed the information from this comment at macosxhints (link above):

… 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.

Now all is well again.

1 comment

Tell us what you think.
Note: there may be a delay before your comment appears. I now approve all comments from new visitors, in an attempt to keep spam at bay.

debbie T 14 January 2006 at 15:45 46

Wow, yep, my local database is unavailable. I am too tired tonight to tackle this, but I will have to work on this tomorrow. Fingers crossed it will be as easy a fix for me as it was for you.

Reply

Add your Comment

Older Post:

Newer Post: