fixing mySQL in Mac OS X 10.4.4 and higher
June 29th, 2006
If you are not a huge nerd, quick! look away:
$ sudo mkdir /var/mysql
$ sudo ln -s /tmp/mysql.sock /var/mysql/
…this is just mostly so I remember. For some nebulous security reason, Apple changed the location of the MySQL socket file in 10.4.4 and higher, and everytime I install MySQL on a new mac server, I forget that. These two commands make a symbolic link from the new location to the old location, so everything MySQL-ish on your Mac can continue to work.
~jeff