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

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 2 different diffs reported by users for this test.

Count Diff
11 (92%)
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=
1 (8%)
001+ Warning: mysql_connect(): Operation timed out in /usr/home/void/php-5.4.8/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=