ID: 11674
Updated by: sniper
Reported By: [EMAIL PROTECTED]
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] [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 
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


-- 
PHP Development Mailing List <http://www.php.net/>
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