We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd01c74 commit ffd398bCopy full SHA for ffd398b
ext/mysqli/tests/gh8978.phpt
@@ -16,7 +16,7 @@ $mysql = mysqli_init();
16
mysqli_ssl_set($mysql, 'x509.key', 'x509.pem', 'x509.ca', null, null);
17
try {
18
// There should be no warning here, only exception
19
- mysqli_real_connect($mysql, '127.0.0.1:3306', 'username', 'password', null, null, null, MYSQLI_CLIENT_SSL);
+ mysqli_real_connect($mysql, $host, $user, $passwd, null, $port, null, MYSQLI_CLIENT_SSL);
20
} catch (mysqli_sql_exception $e) {
21
echo $e->getMessage()."\n";
22
}
0 commit comments