mySQL broken in OS X 10.4.4

Posted: January 25, 2006 in Computing, General

Again, Apple f*s up the works with an OS update. I just spent more than an hour trying to figure out why mySQL isn’t working on my local Web server. I finally boiled it down to the socket being in the wrong place. I attempted to copy the socket into the directory PHP was looking for, but unix doesn’t allow copying of sockets (that’s a new one), I was on the path of trying to convince PHP to look for the socket in the new location when I ran across a page on MacOS hints describing the problem, and the fix. They suggest creating a link (instead of copying the socket) in the location PHP is looking for it.

Now I just have to hope that I didn’t lose all my databases. This is the fourth or fifth time that an OS update has trashed PHP, or mySQL. This time, it wasn’t as simple as a re-install or something simple, but an undocumented, pain in the ass (and I did a number of Google searches for things like “Can’t connect to local MySQL server” (which was the message I was getting) or info on the mySQL socket and Mac OS X.

Thank you Apple.

Comments are closed.