MySQL Error for Mac OSx

Posted by OckhamsRazor on Server Fault See other posts from Server Fault or by OckhamsRazor
Published on 2011-08-26T11:19:43Z Indexed on 2011/11/21 9:55 UTC
Read the original article Hit count: 225

Filed under:
|

I'm trying to run the mysql command on my mac osx but keep getting the error:

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

I did try researching this extensively but could'nt find a suitable solution. Most of the solutions refer to /etc/my.cnf but I don't seem to have this configuration file in the first place. I'm pretty much stuck and have been for quite a while. Any help is greatly appreciated.

© Server Fault or respective owner

Related posts about mysql

Related posts about macosx