On Sat, Apr 17, 2010 at 1:09 PM, Jiri Pavlovsky <j...@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.