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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/1/07, Jason Pruim <japruim@xxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux