Bug #10585 Updated: Php can't connect to MySQL database

From: Date: Thu, 07 Mar 2002 03:14:13 +0000
Subject: Bug #10585 Updated: Php can't connect to MySQL database
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1872@lists.php.net to get a copy of this message
ID: 10585 Updated by: yohgaki@php.net -Summary: Php can't connect to MySQL database -Reported By: ken@synagy.com +Reported By: php.ini@mysql.sock.com -Status: Closed +Status: Feedback Bug Type: MySQL related Operating System: redhat 7 PHP Version: 4.0.5 New Comment: And what is your PHP version? Previous Comments: ------------------------------------------------------------------------ [2002-03-06 15:38:52] php.ini@mysql.sock.com Edit the mysql socket entry in the php.ini file and restart the httpd. Try this: mysql.default_socket = /var/lib/mysql/mysql.sock ------------------------------------------------------------------------ [2001-05-01 20:24:30] sniper@php.net There was a bug in the configure. Should be fixed in CVS now. --Jani ------------------------------------------------------------------------ [2001-05-01 14:53:20] hholzgra@php.net most likely a configuration error ask a support forum like php-general@lists.php.net ------------------------------------------------------------------------ [2001-05-01 14:22:05] ken@synagy.com mysql version 3.23.33 All MySQL connections are broken error: Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /home/httpd/html/ion/ion/connect.php on line 4 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=10585&edit=1

« previous php.bugs (#1872) next »