php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10641 can't make connection to Mysql DB
Submitted: 2001-05-03 13:50 UTC Modified: 2001-06-02 23:07 UTC
From: hdn at umich dot edu Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0 Latest CVS (03/05/2001) OS: RH7.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hdn at umich dot edu
New email:
PHP Version: OS:

 

 [2001-05-03 13:50 UTC] hdn at umich dot edu
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/hdn/public_html/test.html on line 11
Couldn't connect to MySQL

Mysql server is up and running, I can connect to it with shell command.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-02 23:07 UTC] sniper@php.net
This should be fixed with PHP 4.0.6, please try the 
latest release candidate:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

-Jani

 [2002-05-03 09:48 UTC] jacianematos at ig dot com dot br
Hi, 
I have the similar problem.
The diference is that is a remote connection.

Warning: Can't connect to MySQL server on <ip_of_mysql_server>(110) 

If you resolve please help me too.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 01:01:32 2025 UTC