Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 = in the same /etc/my.cnf

share|improve this question

2 Answers 2

1) Check:


for errors

2) Check if /var partition is not full

share|improve this answer
The log files do not exist and my var folder is under root so its not full again –  manugupt1 Nov 15 '09 at 13:08

I solved the problem. A after following the above steps I need to run rcmysql wwhich would configure it automatically.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.