mirror of
https://github.com/php/php-src.git
synced 2026-04-25 08:58:28 +02:00
Fix broken test
Need to use the configured connection parameters here. We can't assume the test user has access.
This commit is contained in:
@@ -10,7 +10,7 @@ if (!$IS_MYSQLND) {
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$link = new mysqli('localhost', 'test', NULL, 'test');
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
mysqli_close($link);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user