Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-12-2002, 12:11 PM   #1
LQ Newbie
Registered: Oct 2002
Location: Waukesha, WI
Distribution: slack
Posts: 10

Rep: Reputation: 0
MySQL problem - newb

not sure what needs to be modified/setup to run the mysql tool. I get this when i type it at bash:

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

What did I break?
Old 11-12-2002, 01:48 PM   #2
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Is MySQL running at all?
ps auxw | grep mysql

If so did you modify the path where the mysql.sock was stored? To locate the file use find / -name mysql.sock

post the results here ...
Old 11-26-2002, 05:42 PM   #3
Registered: Jun 2002
Posts: 31

Rep: Reputation: 15
I have the same problem, MySQL is running, and sock is located in : /tmp/mysql.sock

It is looking in /var/tmp/mysql.sock


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
The first step to ascending newb status, acknowledging you're a newb :P LordRaven Member Intro 1 08-24-2004 06:05 PM
Updating MySQL a two second newb question. caperneoignis Linux - Software 2 08-03-2004 10:32 AM
Total newb needs help installing perl and mysql Redsquare Linux - Newbie 2 03-09-2004 08:02 AM
newb problem rcflyer23 Linux - General 3 10-14-2003 01:07 PM
Another newb, another problem... Fishbu Slackware 5 03-08-2003 10:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:14 AM.

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