]> granicus.if.org Git - php/commitdiff
mysqlnd pam fix test error message
authorDaniel Black <daniel@mariadb.org>
Thu, 25 Feb 2021 02:09:08 +0000 (13:09 +1100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 25 Feb 2021 08:51:51 +0000 (09:51 +0100)
Closes GH-6727.

ext/mysqli/tests/mysqli_auth_pam.phpt

index 587320a628add26abf9e9d8d736d00eba429390a..702abadf4b399ae6979a7b84674f89d561e84ee8 100644 (file)
@@ -102,8 +102,8 @@ max_execution_time=240
     require_once('table.inc');
 
     if (!$link = my_mysqli_connect($host, 'pamtest', 'pamtest', $db, $port, $socket)) {
-        printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-            $host, $user, $db, $port, $socket);
+        printf("[001] Cannot connect to the server using host=%s, user=pamtest, passwd=pamtest dbname=%s, port=%s, socket=%s\n",
+            $host, $db, $port, $socket);
     } else {
 
       if (!$res = $link->query("SELECT id FROM test WHERE id = 1"))