Re: Apache::DBI connect_on_init problem

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Sat, Apr 17, 2010 at 4:42 PM, Chris Bennett
<[email protected]> 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
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.