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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 08 06:01:33 2024 UTC