Re: [Exim] cannot connect to mysql socket

Top Page
Delete this message
Reply to this message
Author: David S. Madole
Date:  
To: exim-users, Harisha K.R.
Subject: Re: [Exim] cannot connect to mysql socket
> From: "Harisha K.R." <harishkr@???>
>
> 2004-07-09 18:16:54 1BiuUC-0000Up-PH failed to expand "${lookup
> mysql{SELECT DISTINCT CONCAT(domain, ' : ') FROM domains WHERE type =
> 'local' AND enabled = '1'}}" while checking a list: lookup of "SELECT
> DISTINCT CONCAT(domain, ' : ') FROM domains WHERE type = 'local' AND
> enabled = '1'" gave DEFER: MYSQL connection failed: Can't connect to local
> MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


Well is that where your socket is? If not, you need to take a look at

http://www.exim.org/exim-html-4.30/doc/html/spec_toc.html#TOC100

If the socket is there, have you checked the permissions on it?

Have you tested with mysql -S /var/lib/mysql/mysql.sock to verify whether
this really has anything to do with Exim?

David