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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-28 06:07 UTC] zeev
Fixed!  See bug #108 for fix details
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 02:02:52 2024 UTC