php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #109 MySQL queries start failing.
Submitted: 1998-02-26 23:10 UTC Modified: 1998-02-28 06:07 UTC
From: garman at earthling dot net Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0 Latest CVS OS: FreeBSD 2.2.5-STABLE
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: garman at earthling dot net
New email:
PHP Version: OS:

 

 [1998-02-26 23:10 UTC] garman at earthling dot net
As far as i can tell, the MySQL database support (in beta4
up to the latest CVS as of yesterday or the day before) has
been flaky.  Most of my scripts use a pconnect as user
'nobody' to the databases on the server.  However, some do
a special connect for users when authentication to a
database is needed (the username & password for the MySQL
authentication is obtained through the http basic auth
dialog box)

Now, using the latest php3, I can reliably cause _all_ MySQL
queries to fail (the warning: cannot connect to MySQL server)
after I go to a page which uses the mysql_connect on a
user supplied username & password.  When I check the
processlist on the MySQL server, it shows none of the
pconnect()ed connections that should be there.

If you need more information I can reinstall the latest CVS
on here and get exact error messages, etc. and snippets of
code (basically just mysql queries and connects, nothing
special)

thanks.

PHP in all cases- compiled with LDAP support, mysql support,
debug off

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-28 06:07 UTC] zeev
Fixed!  See bug #108 for fix details
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat May 10 01:01:28 2025 UTC