diff --git a/ext/mysqli/tests/connect.inc b/ext/mysqli/tests/connect.inc index fb538558bb6..2fcf4ff0fff 100644 --- a/ext/mysqli/tests/connect.inc +++ b/ext/mysqli/tests/connect.inc @@ -9,7 +9,7 @@ $user = "root"; $passwd = ""; } else { - $path = realpath('./ext/mysqli/tests'); + $path = dirname(__FILE__); $host = $user = $passwd = NULL; $args = array( "--datadir=$path",