PDA

View Full Version : Can't connect to mysql?



fvs
1st May 2006, 08:33 PM
Can't connect to mysql server,
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib /mysql/mysql.sock' (2)
Haven't a clue? Just got into mysql., tried it as root also mysql -u localhost -p, ./bin/mysqld_safe & and still get this error. Need some help. Thanks.fvs :confused:

SHtRO
1st May 2006, 10:18 PM
Common problem. You need to start the service. Go into "System->Administration->Server Settings->Services" and activate the service (you'll need to start it and check it to startup automatically in the future).

This is a FAQ, I believe.

fvs
1st May 2006, 10:55 PM
Common problem. You need to start the service. Go into "System->Administration->Server Settings->Services" and activate the service (you'll need to start it and check it to startup automatically in the future).

This is a FAQ, I believe.
That did it, Thanks. fvs :)