Browse Source

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

PHP-5.1
foobar 21 years ago
parent
commit
9f704ce6d1
  1. 2
      ext/mysql/tests/001.phpt

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

Loading…
Cancel
Save