Test: /ext/mysql/tests/bug51242.phpt - Version 5.4.17        

Bug #51242 Empty mysql.default_port does not default to 3306 anymore, but 0
Submitted: 2010-03-09 00:33:35 Modified: 2010-03-09 06:08:55
From: php-bugs Assigned: aharvey
Status: Closed Package: MySQL related
PHP Version: 5.3.2 OS:

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

Count Diff
10 (77%)
001+ [000-b] [1049] Unknown database 'test'
001- resource(%d) of type (mysql link)
002+ [001] Cannot connect to the server using host=127.0.0.1, user=root, passwd=***, dbname=test, port=, socket=
2 (15%)
001+ ** ERROR: process timed out **
001- resource(%d) of type (mysql link)
1 (8%)
001+ Warning: mysql_connect(): Operation timed out in /root/php-5.4.17/ext/mysql/tests/connect.inc on line 37
001- resource(%d) of type (mysql link)
002+ [000-a] Cannot connect using host '127.0.0.1', user 'root', password '****', persistent = 0, [2002] Operation timed out
003+ [001] Cannot connect to the server using host=127.0.0.1, user=root, passwd=***, dbname=test, port=, socket=