MySQL quick fix for broken Sock
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
find path where MySQL is looking for mysql.sock if directory does not exist create it. The error will tell you where that is. My Error was /var/mysql/
cd /var mkdir mysql cd mysql
now type:
ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock
REFRESH!
What we did, we created a shortcut to the file that MySQL actually wants to call. It's a thing of beauty!