How to verify Apache::DBI persistent connection

How to verify Apache::DBI persistent connection

am 21.09.2009 11:35:13 von Raja.Kulasekaran

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA3A9E.D31AD2E6
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

=20

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

=20

Thanks,

Raja=20

=20


------_=_NextPart_001_01CA3A9E.D31AD2E6
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









Hi,



 



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



 



Thanks,



Raja



 









------_=_NextPart_001_01CA3A9E.D31AD2E6--

Re: How to verify Apache::DBI persistent connection

am 21.09.2009 11:53:58 von aw

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.htm l#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.