Bug #11674 Updated: can#t connect on socket
| From: | sniper@php.net | Date: | Tue, 26 Jun 2001 12:53:59 +0000 |
| Subject: | Bug #11674 Updated: can#t connect on socket | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58052@lists.php.net to get a copy of this message | ||
ID: 11674
Updated by: sniper
Reported By: lopez@pepe-lopez.com
Old-Status: Open
Status: Closed
Bug Type: MySQL related
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
The default is still /tmp/mysql.sock.
But if you have mysql.sock somewhere else in your
system, it will be detected instead.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-06-25 14:33:25] lopez@pepe-lopez.com
OK, I compile 4.0.6 (runs as CGI), and copy it to my cgi-bin (where 4.0.5 is/was located (running)).
Then, PHP can't connect to mysql.sock in /tmp/var
- in 4.0.5 the default *SEEMS* /tmp, however, in 4.0.5 the default works, in 4.0.6 NOT.
When I set up the php.ini (.ini-dist or optimized, it's the same thing!) with
mysql.default.socket = /tmp/mysql.sock
the same error (warning) is displaying, but this time with
mysql.sock '-1'.
OK, I delete the php.ini, and 4.0.5 works without any probs, when I copy 4.0.6, -> can't
connect to mysql.sock /tmp/var
so...?
regards,
Lopez
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11674&edit=2