Now, in this case it isn’t really Apple’s fault. It’s sort of everyone’s fault. There’s a reason even complex things need to be simplified and it’s to avoid the situation I’m in right now.
After installing Snow Leopard on my other machine and thinking I found all the kinks my MacBook still won’t connect to a MySQL database from a WordPress installation. I have followed all the instructions, I have found more instructions online and figured those out.
I can connect to my mysql database from either the command line or a database utility program.
My webserver seems to be running fine with php enabled.
But WordPress just won’t work. Not a big deal? My business is WordPress and this particular machine has at least 10 different WordPress installations on it and none of them work. I literally can’t work on anything for my customers at this point.
Also there’s nothing in the error logs to give me any hint as to what’s happening.
Fun!
Update:
Oh My God! For Snow Leopard on my MacBook apparently the host in wp-config.php needs to be ‘localhost’ instead of ‘127.0.0.1′. On Leopard it was exactly the opposite. But either should work fine. Whatever. And ‘127.0.0.1′ works fine on my other machine running Snow Leopard. This is just truly junk.
I know I tried this before but that my have been before I did all the other MySQL wrangling. Whatever.
Update:
I just checked and my other machine also requires ‘localhost’ and will not work with ‘127.0.0.1′. However, I don’t remember changing it. It must have either worked all along on that machine or I changed it in passing. Bizarre.
Submit a Comment