[RADIATOR] Radiator SQL Access
Carlos Parada
carlos-f-parada at ptinovacao.pt
Mon Feb 1 06:13:58 CST 2010
That was the problem. My god, really simple ... Many thanks;)
Regards,
Carlos Parada
-----Original Message-----
From: Heikki Vatiainen [mailto:hvn at archred.com]
Sent: segunda-feira, 1 de Fevereiro de 2010 11:54
To: Carlos Parada
Cc: radiator at open.com.au
Subject: Re: [RADIATOR] Radiator SQL Access
On 02/01/2010 12:57 PM, Carlos Parada wrote:
> However, I'm facing the following problem "Could not connect to SQL database with DBI->connect" (see confs and logs).
> I have tried to use other functionalities with an SQL database, such as accounting, and the problem is the same.
> I have created a small perl script (see below) using the same access data and it works perfectly.
> I've tried to sniff some traffic using the tethereal application and nothing can be seen.
> Any tips?
A quick thing to check is to see if it works without the quotes " for
the DBSource parameter.
I have never used quotes and it works. What I am thinking is that quotes
may become part of the DBSource value which they should not be.
> Conf:
> <AddressAllocator SQL>
> Identifier dhcp_sql
> DBSource "dbi:Pg:dbname=aaa;host=10.112.25.65;port=5432"
--
Heikki Vatiainen, Arch Red Oy
+358 44 087 6547
More information about the radiator
mailing list