Apache::DBI->connect_on_init(
'dbi:Pg:dbname=mydb;host=myhost;port=5432',
'nobody','');
Can this be avoided somehow so that only 1 connection is initiated and
reused? Is my DBI(1.53) or Apache::DBI(1.04) too old? Is it a bad idea to
set dbi_connect_method explicitly in startup.p
Apache::DBI->connect_on_init(
'dbi:Pg:dbname=mydb;host=myhost;port=5432',
'nobody','');
Can this be avoided somehow so that only 1 connection is initiated and
reused? Is my DBI(1.53) or Apache::DBI(1.04) too old? Is it a bad idea to
set dbi_connect_method explicitly in startup.p
Hi,
I'm trying to initiate connections in startup.pl for later use (mod_perl
1.xx):
(startup.pl):
use Apache::DBI;
...
Apache::DBI->connect_on_init(
'dbi:Pg:dbname=mydb;host=myhost;port=5432',
'nobody','');
Later, I am attempting to reuse these connections in an Apache::Registry