Re: Class::DBI -- connect_cached?

[prev] [thread] [next] [Date index for 2004/07/23]

From: Edward J. Sabol
Subject: Re: Class::DBI -- connect_cached?
Date: 17:34 on 23 Jul 2004
> We have 1 server running several websites under 1 instance of Apache,
> each website with its own database. Each website will be using the same
> CDBI classes (Contact, User, Product, etc) to interact with their
> databases.

Class::DBI has always used DBI->connect_cached() for its DBI connections. If
you're using mod_perl though, you really want to use Apache::DBI's connection
caching instead. Recent versions of DBI use Apache::DBI automatically for
DBI->connect_cached(). So just make sure you have Apache::DBI installed plus
a recent (within ~6 months) version of DBI.

(message missing)

Class::DBI -- connect_cached?
John Drago 16:35 on 23 Jul 2004

Re: Class::DBI -- connect_cached?
Tony Bowden 16:40 on 23 Jul 2004

RE: Class::DBI -- connect_cached?
John Drago 17:00 on 23 Jul 2004

Re: Class::DBI -- connect_cached?
Edward J. Sabol 17:34 on 23 Jul 2004

RE: Class::DBI -- connect_cached?
John Drago 18:56 on 23 Jul 2004

RE: Class::DBI -- connect_cached?
Perrin Harkins 19:04 on 23 Jul 2004

RE: Class::DBI -- connect_cached?
John Drago 19:56 on 23 Jul 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52