Mysql Error 2002 (HY000) on Snow Leopard

Posted by Ole Media on Server Fault See other posts from Server Fault or by Ole Media
Published on 2010-04-06T21:07:54Z Indexed on 2010/04/06 21:13 UTC
Read the original article Hit count: 330

Filed under:
|

My boss update my computer to Snow Leopard, after the update we had a set back and deleted a few files/folders, since then is just nightmare after another one. I finally getting things back but I'm still having problems with MySQL. This is what I did:

  1. Deleted ALL of mysql files/folders
  2. Download and installed the packages mysql-5.1.45-osx10.6-x86_64.dmg
  3. installed the Startup item and the preferences panel

After the above, I tried to start MySQL from the preferences panel without luck, and running the following command from Terminal

/usr/local/mysql/bin/mysql

I get the following result

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

I looked at some other post for possible solutions, but what they does not exactly fits my problem, so I cannot find a solution.

I'm new to all this and your help will be much appreciated.

© Server Fault or respective owner

Related posts about mysql

Related posts about snow-leopard