|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31939 Test for Bug 30967 uses hardcoded login
Submitted: 2005-02-11 22:43 UTC Modified: 2005-02-25 09:44 UTC
From: webmaster at ragnarokonline dot de Assigned: georg (profile)
Status: Closed Package: MySQLi related
PHP Version: 5.x OS: *
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:
Solve the problem:
14 + 46 = ?
Subscribe to this entry?

 [2005-02-11 22:43 UTC] webmaster at ragnarokonline dot de
The login-data in the MySQLi-test for Bug 30967 is trying to login with a hardcoded username/password-combo.

The fix is simple:
find in ext/mysqli/tests/bug30967.phpt:
	$mysql = new mysql2($host, "root", "", "test");
and replace it with:
	$mysql = new mysql2($host, $user, $passwd, "test");


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-11 22:56 UTC] webmaster at ragnarokonline dot de
changing version to irrelevant ...
 [2005-02-21 22:35 UTC]
The version isn't irrelevant. It's 5.x if anything. (mysqli does not exist in PHP 4)

 [2005-02-21 22:37 UTC]
Assigning to da author of the test and extension. :)

 [2005-02-25 09:44 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 27 09:03:34 2022 UTC