LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
Search this Thread
Old 02-09-2011, 03:18 PM   #1
markseger
Member
 
Registered: Jul 2003
Posts: 241

Rep: Reputation: 25
HTTPD: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'


I know this has been reported before but my situation is different. really...

I don't have mysql installed, so why should httpd be reporting this? I did find a copy of /etc/my.cnf, which is odd, so I tried moving it to /tmp but that didn't help either.

Any and all suggestions will be appreciated.

-mark
 
Old 02-09-2011, 03:47 PM   #2
markseger
Member
 
Registered: Jul 2003
Posts: 241

Original Poster
Rep: Reputation: 25
someone just pointed out that ganglia is running on this server and it has its own webserver. maybe that's part of the problem?
-mark
 
Old 02-09-2011, 11:53 PM   #3
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 18, 19, RHL 5.2
Posts: 546

Rep: Reputation: 43
While you may not have mysql installed, it looks like the web page you are trying to access is attempting to connect to a mysql database, most likely on the localhost.

The message you describe is usually caused when a page coded for mysql wants to access a mysql database and it is not running. On Linux, you can connect to mysql either through a TCP/IP port or by using a Unix socket. Sockets are used when localhost is specified or when connecting to a server on the same computer.

I'd start by seeing if a simple html page works without error. If not, then we'll have to dig deeper.
 
  


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
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) ajeshg Linux - Server 4 06-16-2010 04:46 AM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) sawgata Linux - Newbie 9 06-02-2010 06:31 AM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' mathimca05 Linux - Newbie 2 10-17-2007 02:04 AM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) sunlinux Linux - Software 1 11-07-2006 12:08 AM


All times are GMT -5. The time now is 03:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration