Error Message Concerning Connection to local MySQL server

Kaplan, Andrew H. AHKAPLAN at PARTNERS.ORG
Fri Sep 15 19:29:23 IST 2006


Thanks for your reply. I realize what my mistake was: I tried to run the command
as sudo user and it failed. When I did the same as root, it worked. Thanks. 

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Ken A
Sent: Friday, September 15, 2006 2:25 PM
To: MailScanner discussion
Subject: Re: Error Message Concerning Connection to local MySQL server



Kaplan, Andrew H. wrote:
> Hi there -
> 
>  
> 
> I was checking through the root mail file and I came across the following
error
> message:
> 
>  
> 
> Warning: mysql_pconnect(): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2) in /var/www/html/mailscanner/functions.php on
> line 497
> 
> Could not connect to database: Can't connect to local MySQL server through
> socket '/var/lib/mysql/mysql.sock' (2)
> 
>  
> 
> The version of MailScanner 4.54-1 and it is running with ClamAV 0.88.1.
Sendmail
> is version 8.13.7 and the operating system is Fedora Core 5. 
> 
>  
> 
> What do I need to do to correct this?
> 
> 
> 

Have you tried 'service mysqld start' ?

Ken A.
Pacific.Net



-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list