LinuxQuestions.org
Visit Jeremy's Blog.
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, 04:18 PM   #1
markseger
Member
 
Registered: Jul 2003
Posts: 244

Rep: Reputation: 26
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, 04:47 PM   #2
markseger
Member
 
Registered: Jul 2003
Posts: 244

Original Poster
Rep: Reputation: 26
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-10-2011, 12:53 AM   #3
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

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