LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2007, 12:39 AM   #1
amee_stars
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Rep: Reputation: 0
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.so


Hi i get the following eroor when trying to start mysql

/usr/local/mysql/bin/mysql
/usr/local/mysql/bin/mysql: /usr/lib/mysql/libmysqlclient.so.15: no version information available (required by /usr/local/mysql/bin/mysql)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
You have new mail in /var/spool/mail/root

working on FC 5 and have installed apache,php and Mysql for snort
 
Old 01-22-2007, 01:00 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
First question would be if the mysql server (mysqld) is running?

Did you search the internet? Google results for mysql error 2002

Last edited by Wim Sturkenboom; 01-22-2007 at 01:02 AM.
 
Old 01-22-2007, 02:48 AM   #3
amee_stars
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
it is running but there are i guess two versions 5.0.18 and 5.0.22 installed.
i don know how remove 5.0.18 completely.

I get a different solution everytime.i don know whats going on.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysq mimique Linux - Software 23 08-14-2012 06:14 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) cygnus-x1 Linux - Software 2 06-05-2008 01:14 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration