diff options
| author | George Peter Banyard <girgias@php.net> | 2020-07-03 13:43:29 +0200 |
|---|---|---|
| committer | George Peter Banyard <girgias@php.net> | 2020-09-15 19:12:02 +0200 |
| commit | 7a95e943d642e05532979a06221c476183eac7e4 (patch) | |
| tree | ded828cad622e5e55e06ec70c9e044e834fffc94 /ext/mysqli/tests/connect.inc | |
| parent | 7e61c2edd8456ff502e17e14d517da409f1e6193 (diff) | |
| download | php-git-7a95e943d642e05532979a06221c476183eac7e4.tar.gz | |
Promote warnings to Error in MySQLi extension
Closes GH-5803
Diffstat (limited to 'ext/mysqli/tests/connect.inc')
| -rw-r--r-- | ext/mysqli/tests/connect.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/connect.inc b/ext/mysqli/tests/connect.inc index 43bb3c4153..6bf393a2de 100644 --- a/ext/mysqli/tests/connect.inc +++ b/ext/mysqli/tests/connect.inc @@ -8,7 +8,7 @@ $driver = new mysqli_driver; - $host = getenv("MYSQL_TEST_HOST") ?: "localhost"; + $host = getenv("MYSQL_TEST_HOST") ?: "127.0.0.1"; $port = getenv("MYSQL_TEST_PORT") ?: 3306; $user = getenv("MYSQL_TEST_USER") ?: "root"; $passwd = getenv("MYSQL_TEST_PASSWD") ?: ""; |
