Bug #16460: can't find mysql.sock
| From: | developer at i-space dot org | Date: | Sat, 06 Apr 2002 12:11:45 +0000 |
| Subject: | Bug #16460: can't find mysql.sock | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-4191@lists.php.net to get a copy of this message | ||
From: developer@i-space.org
Operating system: Slackware
PHP version: 4.0.6
PHP Bug Type: MySQL related
Bug description: can't find mysql.sock
i have a slackware server with apache 1.3.20 and mysql 3.23.39 with php
4.0.6 and it works perfect.
but when i tried to install thew new version of php - 4.1.2 some problems
ocurred. first of all it configures and compiles correct - with no errors.
with phpinfo() everything is correct - it finds the mysql.sock file in the
correct place - /tmp/mysql.sock as a link to var/run/mysql/mysql.sock.
so with php4.0.6 mysql connections works fine but after upgrading to
php4.1.2 can't connect anymore, dies with that error :
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (40)
so i guess it's something different in the mysql support in the new php
version but couldn't find anything related in the documentation.
--
Edit bug report at http://bugs.php.net/?id=16460&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16460&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16460&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16460&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16460&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16460&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16460&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16460&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16460&r=submittedtwice