[Maypole] Passing dbh attributes on setup

Gaal Yahas gaal@forum2.org
Thu, 10 Jun 2004 11:12:22 +0300


On Wed, Jun 09, 2004 at 11:30:26PM +0200, Roland Moriz wrote:
> not sure if this works but have you tried to set the attribut within
> $dsn as described in the DBI pod?
> 
> http://search.cpan.org/~timb/DBI-1.42/DBI.pm
[...]
> You can also define connection attribute values within the $data_source
> parameter. For example:
> 
>   dbi:DriverName(PrintWarn=>1,PrintError=>0,Taint=>1):...

This does the trick for me, thank you very much!

-- 
Gaal Yahas <gaal@forum2.org>
http://gaal.livejournal.com/