LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2003, 01:05 AM   #1
KittyWu
LQ Newbie
 
Registered: Jul 2003
Location: China
Posts: 11

Rep: Reputation: Disabled
Smile Looking for help ! MySql


I'm a newbie in MySql. When I use "mysql -uroot -p" and "mysql start", an error occur: "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)" . In '/var/lib/mysql/ ' I can't find the file 'mysql.sock'. Where can I get this file, or how does this file come? Thanks first!!!!!!!!
 
Old 09-24-2003, 01:29 AM   #2
Saraev
Member
 
Registered: Apr 2002
Location: Los Gatos, CA
Distribution: boring redhat 9
Posts: 163

Rep: Reputation: 30
try safe_mysqld &

This error means MySQL isn't running. safe_mysqld fires it up.
 
Old 09-24-2003, 01:47 AM   #3
KittyWu
LQ Newbie
 
Registered: Jul 2003
Location: China
Posts: 11

Original Poster
Rep: Reputation: Disabled
-bash: safe_mysqld: command not found
Why?
 
Old 10-08-2003, 01:40 PM   #4
billio
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
I have tha same problem, can anyone help me please? Thank you!!
 
Old 10-09-2003, 05:14 AM   #5
boywonderuk
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
I also have the same problem but the original error message I receive is:

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

I have RH v9 with Apache 2.
Is it because we have mis-installed some other MySQL application when installing Linux onto the computer?
 
  


Reply


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
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
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 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
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 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 - Software

All times are GMT -5. The time now is 02:55 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration