sniper Sun Jun 19 20:16:32 2005 EDT Modified files: /php-src/ext/mysql/tests 001.phpt Log: This is not mysqli, where 5th parameter is port. http://cvs.php.net/diff.php/php-src/ext/mysql/tests/001.phpt?r1=1.2&r2=1.3&ty=u Index: php-src/ext/mysql/tests/001.phpt diff -u php-src/ext/mysql/tests/001.phpt:1.2 php-src/ext/mysql/tests/001.phpt:1.3 --- php-src/ext/mysql/tests/001.phpt:1.2 Fri Jan 16 10:16:26 2004 +++ php-src/ext/mysql/tests/001.phpt Sun Jun 19 20:16:31 2005 @@ -19,7 +19,7 @@ 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);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php