Test: /ext/mysql/tests/bug51242.phpt - Version 5.5.0-dev        

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
2 (50%)
1 (25%)
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 (25%)
001+ Warning: mysql_connect(): [2002] Connection timed out (trying to connect via tcp://127.0.0.1:3306) in /home/pierrick/php-src/trunk/ext/mysql/tests/connect.inc on line 37
001- resource(%d) of type (mysql link)
002+
003+ Warning: mysql_connect(): Connection timed out in /home/pierrick/php-src/trunk/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=