On Wed, Sep 05, 2001 at 11:31:43AM +0930, David Lloyd wrote:
> If I use Apache::DBI under mod_perl and continuosly open and disconnect
> a DBI:mysql connection, it should reuse the same connection and not
> perform a database lookup all the time.

i presume your question is "..., right?"

yes it should, providing you keep connecting with the same dsn, user
and password (and the database connection is still ping()able).


if you use Apache::Status, you should be able to see the currently
cached database connections (for that one apache child) in
/perl-status (or wherever)

-- 
 - Gus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to