#31939 [Opn->Asn]: Test for Bug 30967 uses hardcoded login
| From: | sniper@php.net | Date: | Mon, 21 Feb 2005 21:37:15 +0000 |
| Subject: | #31939 [Opn->Asn]: Test for Bug 30967 uses hardcoded login | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74381@lists.php.net to get a copy of this message | ||
ID: 31939
Updated by: sniper@php.net
Reported By: webmaster at ragnarokonline dot de
-Status: Open
+Status: Assigned
Bug Type: MySQLi related
-Operating System:
+Operating System: *
PHP Version: 5.x
-Assigned To:
+Assigned To: georg
New Comment:
Assigning to da author of the test and extension. :)
Previous Comments:
------------------------------------------------------------------------
[2005-02-21 22:35:45] sniper@php.net
The version isn't irrelevant. It's 5.x if anything. (mysqli does not
exist in PHP 4)
------------------------------------------------------------------------
[2005-02-11 22:56:03] webmaster at ragnarokonline dot de
changing version to irrelevant ...
------------------------------------------------------------------------
[2005-02-11 22:43:32] webmaster at ragnarokonline dot de
Description:
------------
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");
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31939&edit=1