mirror of
https://github.com/php/php-src.git
synced 2025-01-20 18:53:37 +08:00
This is not mysqli, where 5th parameter is port.
This commit is contained in:
parent
174e96246b
commit
9f704ce6d1
@ -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…
Reference in New Issue
Block a user