perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@redhotpenguin.com>
Subject Re: Apache::DBI connect_on_init problem
Date Sat, 17 Apr 2010 20:15:59 GMT
On Sat, Apr 17, 2010 at 1:09 PM, Jiri Pavlovsky <jira@getnet.cz>
wrote:>  Apache::DBI->connect_on_init("dbi:Pg:dbname=p69",
>    "user",
>    "pass",
>    {
>      PrintError => 1, # warn() on errors
>      RaiseError => 0, # don't die on error
>      AutoCommit => 1, # commit executes immediately
>      pg_enable_utf8 => 1,
>    }
>  );
>
>  Apache::DBI->connect_on_init("dbi:Pg:dbname=p69",
>    "another",
>    "pass",
>    {
>      PrintError => 1, # warn() on errors
>      RaiseError => 0, # don't die on error
>      AutoCommit => 1, # commit executes immediately
>      pg_enable_utf8 => 1,
>    }
>  );

Why do you call connect_on_init twice with different parameters?  If
anything stands out as causing the problem, that would come to my mind
as the first thing.

Mime
View raw message