You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Kulasekaran, Raja" <Ra...@netapp.com> on 2009/09/21 11:35:13 UTC

How to verify Apache::DBI persistent connection

Hi,

 

Can anyone suggest me , How do I verify whether DB connection already
established by Apache::DBI ?

 

Thanks,

Raja 

 


Re: How to verify Apache::DBI persistent connection

Posted by André Warnier <aw...@ice-sa.com>.
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.