Page 1 of 1

ERROR 2002: Can't connect to local MySQL server through sock

Posted: Mon Nov 10, 2003 3:50 am
by bouboul
hello,
i'm facing a new problem now i'm getting the following :
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
when i'm trying to connect mysel to mysql server, i think is because i removed mysql in init.d , in /var/lib there is no mysql and even in /usr/sbin there is no mysql daemon , what can i do to make mysql work again?

Posted: Wed Nov 12, 2003 3:22 am
by Wayne
have a look in /etc/rc.d/init.d for the mysql daemon

ERROR 2002: Can't connect to local MySQL server through sock

Posted: Wed Nov 12, 2003 7:24 am
by bouboul
in /etc/init.d there is no mysql daemon. i want to reinstall it from scratch using the rpms,
pleaz help