Test: /ext/mysqli/tests/mysqli_connect_oo_defaults.phpt - Version 5.4.0alpha2    

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

Count Diff
5 (38%)
001+ Access denied for user 'root'@'localhost' (using password: NO)
002+ [004] Usage of mysqli.default_port failed
003+ Access denied for user 'root'@'localhost' (using password: NO)
004+ [006] Usage of mysqli.default_pw failed
005+ Access denied for user 'root'@'localhost' (using password: NO)
006+ [008] Usage of mysqli.default_user failed
007+ Access denied for user 'root'@'localhost' (using password: NO)
008+ [012] Usage of mysqli.default_host failed
009+ Access denied for user 'root'@'localhost' (using password: NO)
010+ [014] Usage of mysqli_connect() has failed
011+ Access denied for user 'root'@'localhost' (using password: NO)
012+ [016] Usage of mysqli_connect() has failed
013+ done!
001- array(1) {
002- [%u|b%"testing"]=>
003- %unicode|string%(19) "mysqli.default_port"
004- }
005- array(1) {
006- [%u|b%"testing"]=>
007- %unicode|string%(17) "mysqli.default_pw"
008- }
009- array(1) {
010- [%u|b%"testing"]=>
011- %unicode|string%(19) "mysqli.default_user"
012- }
013- array(1) {
014- [%u|b%"all_defaults"]=>
015- %unicode|string%(13) "have been set"
016- }
017- array(1) {
018- [%u|b%"all_defaults"]=>
019- %unicode|string%(13) "have been set"
020- }
021- done!
4 (31%)
001+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 46
002+ No such file or directory
003+ [004] Usage of mysqli.default_port failed
004+
005+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 63
006+ No such file or directory
007+ [006] Usage of mysqli.default_pw failed
008+
009+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 81
010+ No such file or directory
011+ [008] Usage of mysqli.default_user failed
012+
013+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 99
014+ No such file or directory
015+ [012] Usage of mysqli.default_host failed
016+
017+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 122
018+ No such file or directory
019+ [014] Usage of mysqli_connect() has failed
020+
021+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 135
022+ No such file or directory
023+ [016] Usage of mysqli_connect() has failed
001- array(1) {
002- [%u|b%"testing"]=>
003- %unicode|string%(19) "mysqli.default_port"
004- }
005- array(1) {
006- [%u|b%"testing"]=>
007- %unicode|string%(17) "mysqli.default_pw"
008- }
009- array(1) {
010- [%u|b%"testing"]=>
011- %unicode|string%(19) "mysqli.default_user"
012- }
013- array(1) {
014- [%u|b%"all_defaults"]=>
015- %unicode|string%(13) "have been set"
016- }
017- array(1) {
018- [%u|b%"all_defaults"]=>
019- %unicode|string%(13) "have been set"
020- }
1 (8%)
001+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 46
002+ No such file or directory
003+ [004] Usage of mysqli.default_port failed
004+
005+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 63
006+ No such file or directory
007+ [006] Usage of mysqli.default_pw failed
008+
009+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 81
010+ No such file or directory
011+ [008] Usage of mysqli.default_user failed
012+
013+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 99
014+ No such file or directory
015+ [012] Usage of mysqli.default_host failed
016+
017+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 122
018+ No such file or directory
019+ [014] Usage of mysqli_connect() has failed
020+
021+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in %s/mysqli_connect_oo_defaults.php on line 135
022+ No such file or directory
023+ [016] Usage of mysqli_connect() has failed
001- array(1) {
002- [%u|b%"testing"]=>
003- %unicode|string%(19) "mysqli.default_port"
004- }
005- array(1) {
006- [%u|b%"testing"]=>
007- %unicode|string%(17) "mysqli.default_pw"
008- }
009- array(1) {
010- [%u|b%"testing"]=>
011- %unicode|string%(19) "mysqli.default_user"
012- }
013- array(1) {
014- [%u|b%"all_defaults"]=>
015- %unicode|string%(13) "have been set"
016- }
017- array(1) {
018- [%u|b%"all_defaults"]=>
019- %unicode|string%(13) "have been set"
020- }
1 (8%)
001+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql) in %s/mysqli_connect_oo_defaults.php on line 46
002+ No such file or directory
003+ [004] Usage of mysqli.default_port failed
004+
005+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql) in %s/mysqli_connect_oo_defaults.php on line 63
006+ No such file or directory
007+ [006] Usage of mysqli.default_pw failed
008+
009+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql) in %s/mysqli_connect_oo_defaults.php on line 81
010+ No such file or directory
011+ [008] Usage of mysqli.default_user failed
012+
013+ Warning: mysqli::real_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql) in %s/mysqli_connect_oo_defaults.php on line 99
014+ No such file or directory
015+ [012] Usage of mysqli.default_host failed
016+
017+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql) in %s/mysqli_connect_oo_defaults.php on line 122
018+ No such file or directory
019+ [014] Usage of mysqli_connect() has failed
020+
021+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql) in %s/mysqli_connect_oo_defaults.php on line 135
022+ No such file or directory
023+ [016] Usage of mysqli_connect() has failed
001- array(1) {
002- [%u|b%"testing"]=>
003- %unicode|string%(19) "mysqli.default_port"
004- }
005- array(1) {
006- [%u|b%"testing"]=>
007- %unicode|string%(17) "mysqli.default_pw"
008- }
009- array(1) {
010- [%u|b%"testing"]=>
011- %unicode|string%(19) "mysqli.default_user"
012- }
013- array(1) {
014- [%u|b%"all_defaults"]=>
015- %unicode|string%(13) "have been set"
016- }
017- array(1) {
018- [%u|b%"all_defaults"]=>
019- %unicode|string%(13) "have been set"
020- }
1 (8%)
001+ Unknown database 'test'
002+ [004] Usage of mysqli.default_port failed
001- array(1) {
002- [%u|b%"testing"]=>
003- %unicode|string%(19) "mysqli.default_port"
004- }
1 (8%)
001+ Can't connect to local MySQL server through socket '/tmp' (111)
002+ [004] Usage of mysqli.default_port failed
003+ Can't connect to local MySQL server through socket '/tmp' (111)
004+ [006] Usage of mysqli.default_pw failed
005+ Can't connect to local MySQL server through socket '/tmp' (111)
006+ [008] Usage of mysqli.default_user failed
007+ Can't connect to local MySQL server through socket '/tmp' (111)
008+ [012] Usage of mysqli.default_host failed
009+ Can't connect to local MySQL server through socket '/tmp' (111)
010+ [014] Usage of mysqli_connect() has failed
011+ Can't connect to local MySQL server through socket '/tmp' (111)
012+ [016] Usage of mysqli_connect() has failed
013+ done!
001- array(1) {
002- [%u|b%"testing"]=>
003- %unicode|string%(19) "mysqli.default_port"
004- }
005- array(1) {
006- [%u|b%"testing"]=>
007- %unicode|string%(17) "mysqli.default_pw"
008- }
009- array(1) {
010- [%u|b%"testing"]=>
011- %unicode|string%(19) "mysqli.default_user"
012- }
013- array(1) {
014- [%u|b%"all_defaults"]=>
015- %unicode|string%(13) "have been set"
016- }
017- array(1) {
018- [%u|b%"all_defaults"]=>
019- %unicode|string%(13) "have been set"
020- }
021- done!