PDA

View Full Version : MySQL Error



signature16
18th March 2006, 09:40 AM
[root]# mysql -v
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


Why do i get this error and how can I fix it?

mnisay
18th March 2006, 10:58 AM
the best place you can get support from this is from MySQL website www.mysql.com

but based from your error feedbacks, it seems that your sql server has not yet started.

what does

service mysqld status
ps axuw | grep sql

says?

if its down, you can simply restart it by

service mysqld start

HTH