Re: MP2: Second easy question: DB connection pooling
On Thu, 2004-08-12 at 14:05, Tim Howell wrote: > Is there currently a way to do database connection pooling with > mod_perl2? No. > I have tried using Apache::DBI with a use statement in my > startup.pl but that doesn't seem to work. It should. Make sure it comes before anything that uses DBI. > Do I need to turn on mod_perl1 > compatibility mode and then use Apache::DBI in the startup script? No, it should work exactly the same as it does on mp1. - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
MP2: Second easy question: DB connection pooling
I've seen conflicting information in docs, websites, lists archives, etc. Is there currently a way to do database connection pooling with mod_perl2? I have tried using Apache::DBI with a use statement in my startup.pl but that doesn't seem to work. Using PerlModule Apache::DBI in my httpd.conf doesn't help either. Do I need to turn on mod_perl1 compatibility mode and then use Apache::DBI in the startup script? Is there something else entirely? =) An example or pointer to further information would be appreciated. --TWH -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html