perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@redhotpenguin.com>
Subject Re: Apache::DBI "connection lost contact" error
Date Tue, 04 Jun 2013 05:13:46 GMT
On Mon, Jun 3, 2013 at 2:36 PM, Dave Morgan <dave.morgan@1001111.com> wrote:
> On 06/03/2013 03:14 PM, Perrin Harkins wrote:
>
> DO NOT USE Apache::DBI with DBI::Connector or any other database caching
> technique. This requires
> knowledge of the code!!!

DBIx::Class monkey patches Apache::DBI so that the caching behavior of
Apache::DBI is overriden. I don't think the best approach, but you can
safely use DBIx::Class with mod_perl and have it handle the database
connections. Enable the verbose debug setting in Apache::DBI to verify
that.

Mime
View raw message