On Wed, 2004-08-11 at 10:01, David Hofmann wrote:
> Any suggestion on why Apache::DBI won't reconnect ?
> 
> David Hofmann
> 
> --- My Apache Startup Script ---
> 
> # make sure we are in a sane environment.
> $ENV{MOD_PERL} or die "not running under mod_perl!";
> 
> use strict;
> use Carp ();
> use Apache::DBI ();
> DBI->install_driver("Pg");

Try taking that install_driver call out.  That caused problems for me
with DBD::Oracle.

Also, make sure you are not doing any connections during startup.  I
remember DBD::Oracle had trouble reconnecting if I connected before
forking, even though the connections during startup are not persistent.

- Perrin


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to