From 9f704ce6d1f7e6388292cd01e35e37c32d4f176e Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 20 Jun 2005 00:16:31 +0000 Subject: [PATCH] This is not mysqli, where 5th parameter is port. --- ext/mysql/tests/001.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mysql/tests/001.phpt b/ext/mysql/tests/001.phpt index 5d36462ba1..8a7c9d22c8 100755 --- a/ext/mysql/tests/001.phpt +++ b/ext/mysql/tests/001.phpt @@ -19,7 +19,7 @@ $test .= ($db) ? '1' : '0'; mysql_close($db); /*** test mysql_connect localhost:port ***/ -$db = mysql_connect($host, $user, $passwd, '', 3306); +$db = mysql_connect("{$host}:3306", $user, $passwd, ''); $test .= ($db) ? '1' : '0'; mysql_close($db); -- 2.50.1