pls clue in the clueless..:)

From: Date: Wed, 08 Jan 2003 08:27:39 +0000
Subject: pls clue in the clueless..:)
Groups: php.db 
Request: Send a blank email to php-db+get-24643@lists.php.net to get a copy of this message
Hi all, I am having a problem that I have not seen in the past and thought to post it here. I am running mysql-3.23.54, php-4.3.0 and apache 1.3.27. Everything seems to install and work correctly...ie stuff like <?php phpinfo() ?> works just fine. Now what is broken is mysql_connect(). I get the following error: Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/www/htdocs/test.php on line 2 Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/www/htdocs/test.php on line 2 Could not connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) It is not a passwd or server running issue and the mysql server is running local to the web server. I can use a mysql client to connect to the server just fine. Any ideas? I am wondering if the internal mysql support for php is broken. Thanks in advance sroy

« previous php.db (#24643) next »