Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 86013 invoked from network); 2 Oct 2006 21:33:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2006 21:33:01 -0000 Received: (qmail 88417 invoked by uid 500); 2 Oct 2006 21:32:56 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 88198 invoked by uid 500); 2 Oct 2006 21:32:55 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 88187 invoked by uid 99); 2 Oct 2006 21:32:55 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 14:32:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [207.114.11.197] ([207.114.11.197:57629] helo=ns1.plusthree.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 39/C8-24395-18581254 for ; Mon, 02 Oct 2006 14:32:51 -0700 Received: from [192.168.0.4] (c-69-140-90-245.hsd1.md.comcast.net [69.140.90.245]) (authenticated bits=0) by ns1.plusthree.com (8.13.1/8.13.1) with ESMTP id k92LWaJk009883 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Oct 2006 17:32:37 -0400 Message-ID: <4521853B.5060003@plusthree.com> Date: Mon, 02 Oct 2006 17:31:39 -0400 From: Michael Peters User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Jonathan Vanasco CC: mod_perl mod_perl Subject: Re: Apache::DBI and pnotes References: <45215303.2090307@vst.donetsk.ua> <45217006.4040909@plusthree.com> <8CD9CD58-D24D-4E22-9308-D33BE81FED9A@2xlp.com> In-Reply-To: <8CD9CD58-D24D-4E22-9308-D33BE81FED9A@2xlp.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jonathan Vanasco wrote: > > On Oct 2, 2006, at 4:01 PM, Michael Peters wrote: > >> The main problem with this is that if you loose your db connection >> somehow, you >> wouldn't know until it bombed out on you unless you constantly check it >> everytime before you use it. > > does apache::dbi ping a connection then reconnect if the ping fails? If you call DBI->connect it does. -- Michael Peters Developer Plus Three, LP