ID: 29729 Updated by: [EMAIL PROTECTED] Reported By: kil at systema dot ru -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Tru64 UNIX v 5.1A PHP Version: 5.0.1 New Comment:
Believe me, you are doing something wrong compiling. (as we don't bundle the mysql client anymore and the default installed one might have different socket location compiled in). Please ask for suport about this on the mailinglists. Previous Comments: ------------------------------------------------------------------------ [2004-08-18 13:21:04] kil at systema dot ru In PHP-4.x.x such problem is only in case compilation with POSIX threads: CC="cc -pthread" CXX="cxx -pthread" ------------------------------------------------------------------------ [2004-08-18 13:16:54] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . ------------------------------------------------------------------------ [2004-08-18 13:02:09] kil at systema dot ru Description: ------------ CC=cc CXX=cxx CFLAGS="-arch host" CXXFLAGS="-arch host" PHP is Apache-2.0.50 shared module PHP-4.3.8 is OK. Reproduce code: --------------- <? mysql_connect("localhost", "user", "passwd"); ?> Expected result: ---------------- Web page Actual result: -------------- Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29729&edit=1