MySQL Forums
Forum List  »  Install & Repo

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Posted by: Vacheh Sardarian
Date: May 29, 2005 01:34AM

Hi Everybody,

I'm some what a novice when it comes to Linux and mysql. I recently started upgrading my current mysql from version 3.23 to version 4.1.12. I have installed the following .rpm files in order, one by one.


When I was done installing, I tried to run mysql my typing mysql at the terminal and I received the following error:

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

I truly after 5 hrs. of searching the on line mysql reference manual and looking of what and where in the heck (apology for my language) mysql.sock is and how I should configure my.cnf, downloading the .tar.gz version of the same mysql version to compare the installed and downloaded files to see what i missed. I pounded and searched my brain for any kind of possible solutions that would help me solve this problem, other files that I thought would help me solve this problem. I have given up...

I would greatly appreciate it if someone can shine a light on this subject and sort of give me a hit on where I can start solving this problem. I will be greatly in dept.

Please help me I'm desperate for any kind of solution to this nightmare!!

With kind regard,

Options: ReplyQuote

Written By
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
May 29, 2005 01:34AM
January 08, 2009 02:01PM
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.