ID: 11079
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: MySQL related
Operating system: 
PHP Version: 4.0.5
Assigned To: 
Comments:

PHP 4.0.5 has a problem detected the correct socket. Please try a snapshot from 
snaps.php.net, or wait for PHP 4.0.6

Derick

Previous Comments:
---------------------------------------------------------------------------

[2001-05-24 06:43:45] [EMAIL PROTECTED]
Are you sure the MySQL server is binding to domain sockets?
ls -l /tmp/mysql.sock

If mysqld is not running or is running with tcp connections only, then your default 
mysql_connect() will not work.

---------------------------------------------------------------------------

[2001-05-24 06:15:32] [EMAIL PROTECTED]
Hello...
I'm use the Linux Mandrake 8.0 with mysql 3.23.32 and Apache 1.3.19. Recently I 
install the 4.0.5 version of php and I can't use my old code to acess mysql server. 
The mysql_connect function give me the error "Can't connect /tmp/mysql.sock (2)".

This old code was working fine with 4.0.4pl1 version of php.

Can you tell what is the problem?

Best Regards.
Nuno Costa.

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11079&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