Re: I'm prepared to feel like an idiot... But I just simply need the answer :)

From: Date: Wed, 01 Aug 2007 14:38:01 +0000
Subject: Re: I'm prepared to feel like an idiot... But I just simply need the answer :)
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-260001@lists.php.net to get a copy of this message
On Aug 1, 2007, at 9:53 AM, Daniel Brown wrote:
On 8/1/07, Jason Pruim <japruim@raoset.com> wrote:
cannot connect to DB!Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)qs:/volumes/raider/webserver/ documents/tests/ticklers japruim$ This is only from the commandline... running the script straight in a browser doesn't show any errors... and it works just fine.
    When running via the web, is it being included in another file?
Make sure that from the command line, it's either self-sufficient (with the username/password combination hard-coded) or has any necessary information parsed through included files.
Hey Dan, All the info is hardcoded into the php file, no includes on this one... -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424 www.raoset.com japruim@raoset.com

« previous php.general (#260001) next »