Re: [Exim] Exim with MySQL lookup

Pàgina inicial
Delete this message
Reply to this message
Autor: Xicoria
Data:  
A: exim-users
Assumpte: Re: [Exim] Exim with MySQL lookup
Yes... it works..

I recompiled exim because it tries to connect on port 0.
Now it try the default (3306) but giving me the same error...

Any idea?


------------------------------------------------------------------------
[root@localhost /root]# mysql virtualemail -h localhost -u root
-p
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15 to server version: 3.23.22-beta-log

Type 'help' for help.

mysql>

---------------------------------------------------------------------------

Patrick Boutilier wrote:
>
> Is mysql bound to localhost? In other words does this work from the

command line?
>
> mysql virtualemail -h localhost -u root -p
>
> Francisco Camargo wrote:
>
> > Hi,
> >
> > I am having some difficulties in seting my box with exim.
> I compiled exim with MYSQL lookup
> > I created a database called virtualemail on MySQL and put than in

my
> > configuration:
> >
> > # MAIN CONFIGURATION
> >
> > hide mysql_servers = localhost/virtualemail/root/xxxxx
> >
> > and I always receive this:
> >
> > search_find deferred: MYSQL connection failed: Can't connect to

local
> > MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
> >
> > I can access my MySQL using:
> > mysqladmin --socket=/var/lib/mysql/mysql.sock -u root -p

virtualemail
> > Enter password: XXXXXX
> > mysqladmin Ver 8.8 Distrib 3.23.22-beta, for redhat-linux-gnu on

i386
> > TCX Datakonsult AB, by Monty
> >
 > > Server version          3.23.22-beta-log
 > > Protocol version        10
 > > Connection              Localhost via UNIX socket
 > > UNIX socket             /var/lib/mysql/mysql.sock
 > > Uptime:                 55 min 49 sec

> >
> > Threads: 1 Questions: 2 Slow queries: 0 Opens: 6 Flush tables:

1 Open
> > tables: 2 Queries per second avg: 0.001
> >
> > And now I really don't know what else to do...
> >
> > HELLLLLLLLLLLLLLLLLLLLLP!!!!
> >
> > TIA
> > Francisco Camargo
> >
> > --
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users

Exim details at http://www.exim.org/ ##


    Subject: 
           Re: [Exim] Exim with MySQL lookup
      Date: 
           Mon, 28 Jan 1980 15:17:55 -0800
      From: 
           Xicoria <xico@???>
        To: 
           Patrick Boutilier <boutilpj@???>
References: 
           1 , 2



Yes... it works..

I recompiled exim because it tries to connect on port 0.
Now it try the default (3306) but giving me the same error...

Any idea?

------------------------------------------------------------------------
[root@localhost /root]# mysql virtualemail -h localhost -u root
-p        
Enter password:                                                        
Reading table information for completion of table and column names     
You can turn off this feature to get a quicker startup with -A         


Welcome to the MySQL monitor.  Commands end with ; or \g.              
Your MySQL connection id is 15 to server version: 3.23.22-beta-log     


Type 'help' for help.                                                  


mysql>                                                                 
---------------------------------------------------------------------------


Patrick Boutilier wrote:
>
> Is mysql bound to localhost? In other words does this work from the command line?
>
> mysql virtualemail -h localhost -u root -p
>
> Francisco Camargo wrote:
>
> > Hi,
> >
> > I am having some difficulties in seting my box with exim.
> > I compiled exim with MYSQL lookup
> > I created a database called virtualemail on MySQL and put than in my
> > configuration:
> >
> > # MAIN CONFIGURATION
> >
> > hide mysql_servers = localhost/virtualemail/root/xxxxx
> >
> > and I always receive this:
> >
> > search_find deferred: MYSQL connection failed: Can't connect to local
> > MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
> >
> > I can access my MySQL using:
> > mysqladmin --socket=/var/lib/mysql/mysql.sock -u root -p virtualemail
> > Enter password: XXXXXX
> > mysqladmin Ver 8.8 Distrib 3.23.22-beta, for redhat-linux-gnu on i386
> > TCX Datakonsult AB, by Monty
> >
> > Server version          3.23.22-beta-log
> > Protocol version        10
> > Connection              Localhost via UNIX socket
> > UNIX socket             /var/lib/mysql/mysql.sock
> > Uptime:                 55 min 49 sec

> >
> > Threads: 1 Questions: 2 Slow queries: 0 Opens: 6 Flush tables: 1 Open
> > tables: 2 Queries per second avg: 0.001
> >
> > And now I really don't know what else to do...
> >
> > HELLLLLLLLLLLLLLLLLLLLLP!!!!
> >
> > TIA
> > Francisco Camargo
> >
> > --
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##