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]

 



> @mysql_connect('localhost', 'user', 'password') or die("Cannot
> connect to DB!" . mysql_error());
..
> 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$

MySQL is running right? (I know, silly question, but have to make sure)

If it is.. grep sock /etc/my.ini .. Bet the socket file its creating
is in /tmp or /var/lib/mysql

-- 
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