|  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
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.
Block user comment
Status: Assign to:
Bug Type:
From: webmaster at ragnarokonline dot de
New email:
PHP Version: OS:


 [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-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 15:03:37 2021 UTC