mysql configuration problem Error ERROR 2002 (HY000): Can't connect to local MySQL server through so

Posted by manugupt1 on Server Fault See other posts from Server Fault or by manugupt1
Published on 2009-11-15T12:13:16Z Indexed on 2010/04/06 1:03 UTC
Read the original article Hit count: 451

Filed under:
|

I recently installed OpenSuse11.1 and tried configuring mysql with it however after installation I was not even able to start it off

I got the following error

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

As suggested in one of the forums I enabled the skip-networking option in /etc/my.cnf which did not help

I also tried binding it to the address using bind-address = 127.0.0.1 in the same /etc/my.cnf

Please help me what to do......

© Server Fault or respective owner

Related posts about mysql

Related posts about opensuse