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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
18 + 45 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC