php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10612 error connecting to database
Submitted: 2001-05-02 10:53 UTC Modified: 2001-05-04 14:00 UTC
From: chrisbragg at moviemarket dot co dot uk Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.5 OS: Linux6.2
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: chrisbragg at moviemarket dot co dot uk
New email:
PHP Version: OS:

 

 [2001-05-02 10:53 UTC] chrisbragg at moviemarket dot co dot uk
I upgraded from php-4.0.3pl1 to 4.0.5 as a DSO in apache and now php cannot connect to MySQL database 

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /httpd/sites/55lo/html/mainfile.php on line 17
Unable to select database

what have I done????

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-03 02:02 UTC] sniper@php.net
This should be fixed in CVS. Please try the latest CVS
snapshot from http://snaps.php.net/ 
If it doesn't work either, reopen this bug report.

--Jani

 [2001-05-04 14:00 UTC] sniper@php.net
Now this should really be fixed. 
As you propably used the builtin mysql libs instead of
the external ones.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Feb 14 21:01:29 2025 UTC