ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> modperl
modperl
retrieving cached connections
by Lev Lvovsky other posts by this author
Nov 28 2006 9:55PM messages near this date
[ANNOUNCE] Apache-Test 1.29 | Re: retrieving cached connections
It looks like from reading the docs, that the startup.pl file can  
handle specifying more than one user for the purpose of making  
multiple connections with different database accounts.

I'm having a problem in retrieving these cached connections when  
running the code after server startup.  Am I correct in assuming that  
specifying identical DBI connection parameters in the mod_perl  
handler as those in the startup.pl connections will return the $dbh  
of the corresponding cached connection?

In using the 'mysql' client to show a list of connections, I see that  
in addition to the several cached connections I create upon startup,  
running a mod_perl handler creates another db connection (not using  
the cached one).

Any pointers appreciated.

thanks,
-lev
Thread:
Lev Lvovsky
Philip M. Gollucci
Philip M. Gollucci
Lev Lvovsky
Philip M. Gollucci
Michael Peters
Larry Leszczynski
Michael Peters
Larry Leszczynski
David Scott
Malcolm J Harwood
David Scott
David Scott
David Scott
Perrin Harkins
Robert Landrum
David Scott
Jonathan
David Scott
David Scott
Philip M. Gollucci
Philip M. Gollucci
Jonathan

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved