Test: /ext/mysqli/tests/mysqli_open_bug74432.phpt - Version 7.3.12        

Bug #74432 mysqli_connect adding ":3306" to $host if $port parameter not given
Submitted: 2017-04-13 11:23:34 Modified: 2017-04-27 11:22:00
From: php.bugs Assigned: pollita
Status: Closed Package: MySQLi related
PHP Version: 7.0.18 OS: Linux x86_64

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ Warning: mysqli_connect(): (HY000/2005): Unknown MySQL server host 'localhost:3306' (1) in %s/mysqli_open_bug74432.php on line 8
001- object(mysqli)#%d (%d) {
003- }
1 (50%)
001+ Warning: mysqli_connect(): (HY000/1698): Access denied for user 'root'@'localhost' in %s/mysqli_open_bug74432.php on line 8
001- object(mysqli)#%d (%d) {
003- }