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

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
4 (44%)
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=
4 (44%)
001+ ** ERROR: process timed out **
001- resource(%d) of type (mysql link)
1 (11%)
001+ Warning: mysql_connect(): Connection refused in /home1/irteam/pkgs/php-5.4.13/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] Connection refused
003+ [001] Cannot connect to the server using host=127.0.0.1, user=root, passwd=***, dbname=test, port=, socket=