php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #439 Unable to connect
Submitted: 1998-06-05 06:47 UTC Modified: 1998-09-22 10:29 UTC
From: sander at op3dfx dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0 Release Candidate 4 OS: RedHar Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sander at op3dfx dot com
New email:
PHP Version: OS:

 

 [1998-06-05 06:47 UTC] sander at op3dfx dot com
Apache runs: PHP3RC4 , PHP2

PHP2 can connect. PHP3 can also, INITIALLY. 

After two/three days of operation, with LOTS OF LOAD.
(3 million queries after that) PHP2 does fine, but PHP3
cannot connect anymore. Not with pconnect() and not with
mysql(x,y). Kill -HUP httpd does not solve it. Kill -9 with a restart does fix it.

Mysql version is 3.21.30


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-22 10:29 UTC] zeev
First, upgrade to the released version of PHP 3 if you haven't done so yet.
Then, set the ini directive mysql.default_user and (if necessary) mysql.default_password.  The way the MySQL API connect function
works make this a very possible symptom.
Please update us as to whether the problem persists or not.  If it does, what does mysql() or mysql_pconnect() say when they fail?
(make sure you run with error_reporting set to report warnings)


[no response from the user for quite a while - if you're still experiencing the problem with the released versions of PHP 3, please resubmit
the bug report ]
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC