Re: Apache::DBI connect_on_init problem

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Sat, Apr 17, 2010 at 1:09 PM, Jiri Pavlovsky <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.