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

From: Date: Wed, 01 Aug 2007 13:55:17 +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-259996@lists.php.net to get a copy of this message
> @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

« previous php.general (#259996) next »