MySQL - Mac - Error 2002 - Can't connect to local... through socket

Posted by Sohrab Hejazi on Stack Overflow See other posts from Stack Overflow or by Sohrab Hejazi
Published on 2010-05-29T01:37:28Z Indexed on 2010/05/29 1:42 UTC
Read the original article Hit count: 333

Filed under:
|
|
|
|

I had MySQL running fine on my Mac till earlier today when I installed homebrew and also updated my Path.

When I try to run mysql from my ternimal window now, I get the following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I can't connect MySQLAdmin either.

I can't even run Mysqld. The error I get when trying to run mysqld is that it can't create test file.

I also tried to tlenet loalhost 3306 and wasn't able to connect.

Any help would be appreciated as I am fairly new to Mac.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about error