MySQL Forums
Forum List  »  Install & Repo

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Posted by: Walter Mendizabal
Date: December 29, 2007 10:03AM

Does anybody has the knowlegde to find a solution for this problem with my system?

mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I[root@localhost /]# service mysql start
Starting MySQL................................... ERROR!

mysqld_safe -u mysql
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/lib/mysql/mysqld.pid
071229 09:42:18 mysqld ended

I do not have the mysqlsock on my system, and i commented the lines on my.cnf for
for datadir and basedir, but i do not why i do not have the mysql.sock file.

Do I have to reinstall the Mysql, I am running version 5.0.24 and it is and upgrade from 4.xx, running on fedora C



Many tks.

Options: ReplyQuote


Subject
Written By
Posted
January 08, 2009 02:01PM
Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
December 29, 2007 10:03AM
April 15, 2009 11:56AM
October 21, 2009 06:18PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.