Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

MYSql doesn't start after restoring harddrive from TM backup

Macbook Pro running Lion V 10.7.4


After a hard drive failure this weekend, I restored frm my most recent backup.

Unfortunately this did not include svn, host file changes and some other fairly easy to correct things.

The one that has been giving me trouble for the last 8 hours is mysql. I have gone through and removed mysql (multiple times) and did fresh installs. Each time I was getting the error:


ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38)


Even after changing my /etc/my.cnf file to point to var/lib/mysql/mysql.sock I would get these errors.


Are there multiple locations where mysql points to /tmp/mysql.sock?



I am at a loss of what to do. I have uninstalled reeinstalled. Tried many different solutions all to reeive the same error.


Thanks in advance.

David

Mac OS X (10.7.4)

Posted on Jun 11, 2012 1:24 PM

Reply
4 replies

MYSql doesn't start after restoring harddrive from TM backup

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.