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

From: Date: Wed, 01 Aug 2007 13:53:47 +0000
Subject: Re: I'm prepared to feel like an idiot... But I just simply need the answer :)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-259995@lists.php.net to get a copy of this message
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. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107

« previous php.general (#259995) next »