Re: DB - Query works on command line, not with PEAR::DB?

From: Date: Tue, 15 Feb 2005 21:10:08 +0000
Subject: Re: DB - Query works on command line, not with PEAR::DB?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17538@lists.php.net to get a copy of this message
To answer my own question: NOTHING is wrong with it! Turns out that the sysadmin had me using a socket to connect to the database, rather than 'localhost' and suddenly MySQL started ignoring all 'writes'. It wasn't this one script that was down - it was ALL of them. He figured out the problem in about 10 minutes and changed the host to 'localhost' and suddenly everything was working again. The terribly confusing thing was that SELECTS worked just fine. Thanks for your time, Nelson On Feb 15, 2005, at 11:11 AM, Nelson Goforth wrote:
I'm trying to do a straightforward UPDATE query using PEAR::DB, and getting the 'unknown error' error.


« previous php.pear.general (#17538) next »