perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Veyron <>
Subject Re: Disconnect database connection after idle timeout
Date Thu, 13 Nov 2014 17:18:04 GMT
On Thu, 13 Nov 2014 10:43:35 -0500
Perrin Harkins <> wrote:

> Apache::DBI should also re-connect with no problems if a request comes in
> after a connection has timed out. If that isn't happening, make sure you
> are using Apache::DBI properly.

Hi Perrin,

Nobody suggested using connect_cached, where the documentations says :

The cached database handle is replaced with a new
       connection if it has been disconnected or if the "ping" method fails

Would that not solve OP's problem?

					Regards, Vincent Veyron 
Legal case, contract and insurance claim management software

View raw message