RE: [Exim] MySQL and Exim Lookup

Top Page
Delete this message
Reply to this message
Author: Jai Kumar Shinde
Date:  
To: Scott Stavretis, Exim Users
Subject: RE: [Exim] MySQL and Exim Lookup
Hi,

there r so many possibilities

1. check exim is configured with mysql. if not the reconfigure it
2. kill all mysql then start again.
3. Syntax error in configure file it should be some like below :

         mysql_servers = "X.Y.Z.A::3306/<database
name>/<username>/<password>"
4. check with exim -d9 .



Jai

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
Behalf Of Scott Stavretis
Sent: Thursday, January 17, 2002 6:56 AM
To: Exim Users
Subject: [Exim] MySQL and Exim Lookup


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Dear All,

I'm using MySQL and Exim to do some relay host lookups via SQL.
I can use MySQL by itself using it's command line feature okay (mysql -u
mysql -p password) and can do select statements etc..

When I put the same configuration into Exim and try it I get MySQL failed to
connect via /var/sock/mysql errors.
I have checked all the details host/user/pass etc and they are correct, as
when I use a perl script of the mysql interface it works with these same
details.

Does anyone know what method EXIM uses to connect to MySQL.
I have some perl scripts using DBI::Mysql (works correctly) but Exim doesn't
appear to work.

Any help would be greatly appreciated

Regards,
Scott
--


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##