perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <phark...@gmail.com>
Subject Re: Apache::DBI connect_on_init problem
Date Mon, 19 Apr 2010 15:25:20 GMT
On Sat, Apr 17, 2010 at 4:42 PM, Chris Bennett
<chris@bennettconstruction.biz> wrote:
> You may also have other connections, but these will reconnect-disconnect
> each time

For the record, Apache::DBI will work with any number of connections,
keeping them persistent.  It's also correct to call connect_on_init
multiple times.  It just pushes the parameters onto a list of
connections to open.

> tack in a dbi_connect_method => 'connect'  for these other ones

You can do that for connections that you don't want to be persistent.

- Perrin

Mime
View raw message