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??? |
Problem fixed
Hey guys as the name says it all drstupid, silly and stupid is my style.
I did not actually installed the mysql-server and only installed mysql, as soon as I installed mysql-server ; it started working :P yum install mysql-server I am so dumb that if you will read guinness book UPSIDE DOWN my name will be at the top. |
All times are GMT -5. The time now is 07:53 AM. |