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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 20:01:29 2024 UTC