If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysq

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-29-10, 18:47
skyxn3t skyxn3t is offline
Registered User
 
Join Date: Aug 2010
Posts: 4
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysq

Greetings,

I installed MySQL 5.1.48-2 on Fedora 13 64bit.

Whenever I tried to connect using the terminal by typing :
[user@work ~]$ mysql

I get the following error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I also installed MySQL on Red Hat Enterprise 5 and I still get the same error when I try to connect.

I Googled this problem but did not find a clear answer to this problem.
Is there a step after installation that I've missed?
Reply With Quote
  #2 (permalink)  
Old 08-30-10, 02:34
skyxn3t skyxn3t is offline
Registered User
 
Join Date: Aug 2010
Posts: 4
Nevermind turns out I did not have mysql-server installed only the client.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On