perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: How to verify Apache::DBI persistent connection
Date Mon, 21 Sep 2009 09:53:58 GMT
Kulasekaran, Raja wrote:
> Hi,
> 
>  
> 
> Can anyone suggest me , How do I verify whether DB connection already
> established by Apache::DBI ?
> 
> 
Looking at the code (on CPAN, 
http://cpan.uwinnipeg.ca/htdocs/Apache-DBI/Apache/DBI.pm.html#debug-
) it looks like by setting
Apache::DBI::DEBUG = 3;
it should provide you with log messages in the Apache error log.
There will probably be a message there telling you if it is re-using an 
existing connection.

Mime
View raw message