LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-21-2003, 05:04 AM   #1
tinaa
Member
 
Registered: Mar 2003
Posts: 58

Rep: Reputation: 15
Question Can't connect to local MySQL server


I installed mysql 4.0 - server, client & devel using rpm -i <rpm name>. But gives me following error while starting mysql.

Starting mysqld daemon with databases from /var/lib/mysql
mysql
ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)

Can anyone please help me.

Thank you,

Tina.....


 
Old 05-21-2003, 05:50 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Thats weird as mysqld should create /tmp/mysql.sock and shouldn't be trying to connect to it. What command are you using to start the mysql daemon? Are there any hints in your logs?

cheers

Jamie...
 
Old 05-21-2003, 06:02 AM   #3
tinaa
Member
 
Registered: Mar 2003
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks for the reply.

I managed to make it work...

Thank you.
 
  


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
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
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
Can't connect to local MySQL server through socket . . . patpawlowski Programming 2 01-23-2004 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:56 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
Open Source Consulting | Domain Registration