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

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

Count Diff
24 (77%)
001+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 47
002+ [008] Cannot connect to the server using host=localhost, user=root, passwd=***, dbname=test, port=3306, socket=
003+
004+ Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in %s/mysqli_connect.php on line 51
005+
002- array(1) {
003- [%u|b%"testing"]=>
004- %unicode|string%(21) "mysqli.default_socket"
005- }
006- array(1) {
007- [%u|b%"testing"]=>
008- %unicode|string%(19) "mysqli.default_port"
009- }
010- array(1) {
011- [%u|b%"testing"]=>
012- %unicode|string%(17) "mysqli.default_pw"
013- }
014- array(2) {
015- [0]=>
016- %unicode|string%(19) "mysqli.default_user"
017- [%u|b%"testing"]=>
007+
008+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 62
009+ [011] Usage of mysqli.default_socket failed
010+
011+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 73
012+ [013] Usage of mysqli.default_port failed
013+
014+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 84
015+ [015] Usage of mysqli.default_pw failed
016+
017+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 95
018+ [017] Usage of mysqli.default_user failed
019+
020+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 106
021+ [019] Usage of mysqli.default_host failed
022+ done!
018- %unicode|string%(19) "mysqli.default_user"
019- }
020- array(1) {
021- [0]=>
022- %unicode|string%(19) "mysqli.default_host"
023- }
024- done!
2 (6%)
001+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 47
002+ [008] Cannot connect to the server using host=localhost, user=root, passwd=***, dbname=test, port=3306, socket=
003+
004+ Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in %s/mysqli_connect.php on line 51
005+
002- array(1) {
003- [%u|b%"testing"]=>
004- %unicode|string%(21) "mysqli.default_socket"
005- }
006- array(1) {
007- [%u|b%"testing"]=>
008- %unicode|string%(19) "mysqli.default_port"
009- }
010- array(1) {
011- [%u|b%"testing"]=>
012- %unicode|string%(17) "mysqli.default_pw"
013- }
014- array(2) {
015- [0]=>
016- %unicode|string%(19) "mysqli.default_user"
017- [%u|b%"testing"]=>
018- %unicode|string%(19) "mysqli.default_user"
019- }
020- array(1) {
021- [0]=>
022- %unicode|string%(19) "mysqli.default_host"
023- }
007+
008+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 62
009+ [011] Usage of mysqli.default_socket failed
010+
011+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 73
012+ [013] Usage of mysqli.default_port failed
013+
014+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 84
015+ [015] Usage of mysqli.default_pw failed
016+
017+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 95
018+ [017] Usage of mysqli.default_user failed
019+
020+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 106
021+ [019] Usage of mysqli.default_host failed
022+
023+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 118
024+ [021] Usage of mysqli.default_host (persistent) failed
2 (6%)
001+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect.php on line 47
002+
003+ Warning: mysqli_connect(): (HY000/2002): No such file or directory in %s/mysqli_connect.php on line 47
004+ [008] Cannot connect to the server using host=localhost, user=root, passwd=***, dbname=test, port=3306, socket=
005+
006+ Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in %s/mysqli_connect.php on line 51
007+
008+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect.php on line 53
009+
010+ Warning: mysqli_connect(): (HY000/2002): No such file or directory in %s/mysqli_connect.php on line 53
011+
012+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect.php on line 62
013+
014+ Warning: mysqli_connect(): (HY000/2002): No such file or directory in %s/mysqli_connect.php on line 62
015+ [011] Usage of mysqli.default_socket failed
016+
017+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect.php on line 73
018+
019+ Warning: mysqli_connect(): (HY000/2002): No such file or directory in %s/mysqli_connect.php on line 73
020+ [013] Usage of mysqli.default_port failed
021+
022+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect.php on line 84
023+
024+ Warning: mysqli_connect(): (HY000/2002): No such file or directory in %s/mysqli_connect.php on line 84
001- Warning: mysqli_connect(): (%d/%d): Access denied for user '%s'@'%s' (using password: YES) in %s on line %d
002- array(1) {
003- [%u|b%"testing"]=>
004- %unicode|string%(21) "mysqli.default_socket"
005- }
006- array(1) {
007- [%u|b%"testing"]=>
008- %unicode|string%(19) "mysqli.default_port"
009- }
010- array(1) {
011- [%u|b%"testing"]=>
012- %unicode|string%(17) "mysqli.default_pw"
013- }
014- array(2) {
015- [0]=>
016- %unicode|string%(19) "mysqli.default_user"
017- [%u|b%"testing"]=>
018- %unicode|string%(19) "mysqli.default_user"
019- }
020- array(1) {
021- [0]=>
022- %unicode|string%(19) "mysqli.default_host"
023- }
024- done!
025+ [015] Usage of mysqli.default_pw failed
026+
027+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect.php on line 95
028+
029+ Warning: mysqli_connect(): (HY000/2002): No such file or directory in %s/mysqli_connect.php on line 95
030+ [017] Usage of mysqli.default_user failed
031+
032+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect.php on line 106
033+
034+ Warning: mysqli_connect(): (HY000/2002): No such file or directory in %s/mysqli_connect.php on line 106
035+ [019] Usage of mysqli.default_host failed
036+
037+ Warning: mysqli_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/mysqli_connect.php on line 118
038+
039+ Warning: mysqli_connect(): (HY000/2002): No such file or directory in %s/mysqli_connect.php on line 118
040+ [021] Usage of mysqli.default_host (persistent) failed
041+ done!
1 (3%)
001+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 47
002+ [008] Cannot connect to the server using host=localhost, user=root, passwd=***, dbname=test, port=3306, socket=
003+
004+ Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in %s/mysqli_connect.php on line 51
005+
006+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'rootunknown_really'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 53
007+
008+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 62
009+ [011] Usage of mysqli.default_socket failed
010+
011+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 73
012+ [013] Usage of mysqli.default_port failed
013+
014+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 84
015+ [015] Usage of mysqli.default_pw failed
016+
017+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 95
018+ [017] Usage of mysqli.default_user failed
019+
020+ Warning: mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in %s/mysqli_connect.php on line 106
021+ [019] Usage of mysqli.default_host failed
001- Warning: mysqli_connect(): (%d/%d): Access denied for user '%s'@'%s' (using password: YES) in %s on line %d
002- array(1) {
003- [%u|b%"testing"]=>
004- %unicode|string%(21) "mysqli.default_socket"
005- }
006- array(1) {
007- [%u|b%"testing"]=>
008- %unicode|string%(19) "mysqli.default_port"
009- }
010- array(1) {
011- [%u|b%"testing"]=>
012- %unicode|string%(17) "mysqli.default_pw"
013- }
014- array(2) {
015- [0]=>
016- %unicode|string%(19) "mysqli.default_user"
017- [%u|b%"testing"]=>
018- %unicode|string%(19) "mysqli.default_user"
019- }
020- array(1) {
021- [0]=>
022- %unicode|string%(19) "mysqli.default_host"
023- }
1 (3%)
001+ Warning: mysqli_connect(): (42000/1049): Unknown database 'test' in %s/mysqli_connect.php on line 47
002+ [008] Cannot connect to the server using host=localhost, user=root, passwd=***, dbname=test, port=3306, socket=
003+
004+ Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in %s/mysqli_connect.php on line 51
005+
004- %unicode|string%(21) "mysqli.default_socket"
007+
008+ Warning: mysqli_connect(): (42000/1049): Unknown database 'test' in %s/mysqli_connect.php on line 62
009+ [011] Usage of mysqli.default_socket failed
010+
011+ Warning: mysqli_connect(): (42000/1049): Unknown database 'test' in %s/mysqli_connect.php on line 73
012+ [013] Usage of mysqli.default_port failed
007- [%u|b%"testing"]=>
008- %unicode|string%(19) "mysqli.default_port"
010- array(1) {
015+ string(17) "mysqli.default_pw"
016+ }
017+ array(2) {
018+ [0]=>
019+ string(19) "mysqli.default_user"
020+ ["testing"]=>
021+ string(19) "mysqli.default_user"
024+ [0]=>
025+ string(19) "mysqli.default_host"
027+ done!
011- [%u|b%"testing"]=>
012- %unicode|string%(17) "mysqli.default_pw"
013- }
014- array(2) {
015- [0]=>
016- %unicode|string%(19) "mysqli.default_user"
017- [%u|b%"testing"]=>
018- %unicode|string%(19) "mysqli.default_user"
019- }
020- array(1) {
021- [0]=>
022- %unicode|string%(19) "mysqli.default_host"
023- }
024- done!
1 (3%)
001+ Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in %s/mysqli_connect.php on line 47
002+ [008] Cannot connect to the server using host=localhost, user=root, passwd=***, dbname=test, port=3306, socket=
003+
004+ Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in %s/mysqli_connect.php on line 51
005+
006+ Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in %s/mysqli_connect.php on line 53
007+
008+ Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in %s/mysqli_connect.php on line 62
009+ [011] Usage of mysqli.default_socket failed
010+
011+ Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in %s/mysqli_connect.php on line 73
012+ [013] Usage of mysqli.default_port failed
013+
014+ Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in %s/mysqli_connect.php on line 84
015+ [015] Usage of mysqli.default_pw failed
016+
017+ Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in %s/mysqli_connect.php on line 95
018+ [017] Usage of mysqli.default_user failed
019+
020+ Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in %s/mysqli_connect.php on line 106
021+ [019] Usage of mysqli.default_host failed
001- Warning: mysqli_connect(): (%d/%d): Access denied for user '%s'@'%s' (using password: YES) in %s on line %d
002- array(1) {
003- [%u|b%"testing"]=>
004- %unicode|string%(21) "mysqli.default_socket"
005- }
006- array(1) {
007- [%u|b%"testing"]=>
008- %unicode|string%(19) "mysqli.default_port"
009- }
010- array(1) {
011- [%u|b%"testing"]=>
012- %unicode|string%(17) "mysqli.default_pw"
013- }
014- array(2) {
015- [0]=>
016- %unicode|string%(19) "mysqli.default_user"
017- [%u|b%"testing"]=>
018- %unicode|string%(19) "mysqli.default_user"
019- }
020- array(1) {
021- [0]=>
022- %unicode|string%(19) "mysqli.default_host"
023- }