#31939 [Opn]: Test for Bug 30967 uses hardcoded login
| From: | webmaster at ragnarokonline dot de | Date: | Fri, 11 Feb 2005 21:56:04 +0000 |
| Subject: | #31939 [Opn]: Test for Bug 30967 uses hardcoded login | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73899@lists.php.net to get a copy of this message | ||
ID: 31939
User updated by: webmaster at ragnarokonline dot de
Reported By: webmaster at ragnarokonline dot de
Status: Open
Bug Type: Unknown/Other Function
-PHP Version: 5.0.3
+PHP Version: irrelevant
New Comment:
changing version to irrelevant ...
Previous Comments:
------------------------------------------------------------------------
[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