Mysql will not start ERROR 2002 (HY000):
Guys,
I have installed mysql 5.0.77 on my Centos 5.3 virtual machine but I am unable to start or connect to mysql. I am getting this error:
=
[root@localhost ~]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
=
This is what I have tried:
==
[root@localhost ~]# rpm -qa | grep mysql
mysql-5.0.77-4.el5_4.1
[root@localhost ~]# netstat -antpe | grep mysql
[root@localhost ~]# service mysqld restart
mysqld: unrecognized service
==
I am unable to find mysql.sock file any where on the entire machine.
I have tried removing and reinstalling and that didnt helped either.
Any ideas fellows???
|