Bug #11079 Updated: Problem with old code to use mysql

From: Date: Thu, 24 May 2001 10:43:46 +0000
Subject: Bug #11079 Updated: Problem with old code to use mysql
Groups: php.dev 
Request: Send a blank email to php-dev+get-56593@lists.php.net to get a copy of this message
ID: 11079 Updated by: swm Reported By: ncosta@seist.com Old-Status: Open Status: Feedback Bug Type: MySQL related Operating system: PHP Version: 4.0.5 Assigned To: Comments: 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. Previous Comments: --------------------------------------------------------------------------- [2001-05-24 06:15:32] ncosta@seist.com 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

« previous php.dev (#56593) next »