Re: Re: PEAR::DB connection timeout
| From: | Matthew Weier O'Phinney | Date: | Mon, 15 Nov 2004 18:30:45 +0000 |
| Subject: | Re: Re: PEAR::DB connection timeout | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15527@lists.php.net to get a copy of this message | ||
* Justin Patrin <papercrane@gmail.com>:
> On 15 Nov 2004 03:02:55 -0000, Matthew Weier O'Phinney
> <matthew@garden.org> wrote:
> > * Matthew Weier O'Phinney <matthew@garden.org>:
>
> Are you quoting all of your SQL correctly? It *could* be a problem
> with that... Could you show us some of the SQL?
As I mentioned in a successive followup, it turns out it wasn't a DB
issue at all, but rather a Mail issue -- the IP address I was using was
incorrect, and my error handler was picking up the PEAR_Error returned
from that module and I mistakenly took it for a DB error message.
As for SQL quoting -- I was using autoExecute and prepare statements
with placeholders :-)
--
Matthew Weier O'Phinney | mailto:matthew@garden.org
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org