ID: 11674
Updated by: sniper
Old-Status: Open
Status: Closed
Bug Type: MySQL related
Operating system: 
PHP Version: 4.0.6
Assigned To: 

The default is still /tmp/mysql.sock.
But if you have mysql.sock somewhere else in your
system, it will be detected instead.


Previous Comments:

[2001-06-25 14:33:25] [EMAIL PROTECTED]
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 

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




ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to