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

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
9 (75%)
002+ [000-b] [1049] Unknown database 'test'
002- resource(%d) of type (mysql link)
003+ [001] Cannot connect to the server using host=127.0.0.1, user=root, passwd=***, dbname=test, port=, socket=
2 (17%)
002+
002- resource(%d) of type (mysql link)
003+ ** ERROR: process timed out **
1 (8%)
002+
002- resource(%d) of type (mysql link)
003+ Warning: mysql_connect(): Connection timed out in /home/staging/php-5.6.5/ext/mysql/tests/connect.inc on line 37
004+ [000-a] Cannot connect using host '127.0.0.1', user 'root', password '****', persistent = 0, [2002] Connection timed out
005+ [001] Cannot connect to the server using host=127.0.0.1, user=root, passwd=***, dbname=test, port=, socket=