Mysql Error 2002 (HY000) on Snow Leopard
- by Ole Media
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:
Deleted ALL of mysql files/folders
Download and installed the packages mysql-5.1.45-osx10.6-x86_64.dmg
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.