This is not mysqli, where 5th parameter is port.

This commit is contained in:
foobar 2005-06-20 00:16:31 +00:00
parent 174e96246b
commit 9f704ce6d1

View File

@ -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);