From: kil at systema dot ru
Operating system: Tru64 UNIX v 5.1A
PHP version: 5.0.1
PHP Bug Type: MySQL related
Bug description: Can't connect to local MySQL
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 bug report at http://bugs.php.net/?id=29729&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29729&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29729&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29729&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29729&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29729&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29729&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29729&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29729&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29729&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29729&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29729&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29729&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29729&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29729&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29729&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29729&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29729&r=float