LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-12-2002, 11:11 AM   #1
omgkthxbye
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, 12:48 PM   #2
markus1982
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, 04:42 PM   #3
ChineseElite
Member
 
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
 
  


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

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

All times are GMT -5. The time now is 07:14 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