summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/002.phpt')
-rw-r--r--ext/mysqli/tests/002.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/002.phpt b/ext/mysqli/tests/002.phpt
index 7925f84fa8..255944a4ec 100644
--- a/ext/mysqli/tests/002.phpt
+++ b/ext/mysqli/tests/002.phpt
@@ -5,7 +5,7 @@ mysqli bind_result 1
include "connect.inc";
/*** test mysqli_connect 127.0.0.1 ***/
- $link = mysqli_connect("localhost", $user, $passwd);
+ $link = mysqli_connect($host, $user, $passwd);
mysqli_select_db($link, "test");
$rc = mysqli_query($link,"DROP TABLE IF EXISTS test_fetch_null");