Re: Apache::DBI "connection lost contact" error
Fred Moyer <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <CAHrynWC26fTrq-TN-dcv2FCd5JZTJTcTFKDDoP6n8DOghy2qNg@mail.gmail.com> |
On Mon, Jun 3, 2013 at 2:36 PM, Dave Morgan <[email protected]> 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.