perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Zentner <>
Subject Re: Using DBI and Apache::DBI together
Date Wed, 28 Jul 2004 09:05:59 GMT
Am Mittwoch 28 Juli 2004 06:36 schrieb Chris Ochs:
> We have our own application server built on mod perl and the template
> toolkit.  Most of the application specific sql queries all run as a single
> user which is great for Apache::DBI.  Every end user also has 3-4 tables
> they can query (using the template toolkit DBI plugin) using their own
> username, and for I do not want to use Apache::DBI because it results in
> too many cached connections.
> Other than hacking and adding our own disconnect function which
> won't be overriden by Apache::DBI, does anyone know of a better way to have
> both cached and non cached connections in the same apache/mod perl process?

# bypass Apache::DBI
$dbh = DBI->connect($data_source, $username, $password, { dbi_connect_method 
=> 'connect' }) || die;


Report problems:
Mail list info:
List etiquette:

View raw message