2018-04-30 23:06:09 +02:00
|
|
|
set @old_dbug=@@global.debug_dbug;
|
|
|
|
set global debug_dbug='+d,auth_disconnect';
|
|
|
|
create user 'bad' identified by 'worse';
|
|
|
|
set global debug_dbug=@old_dbug;
|
|
|
|
drop user bad;
|
2019-07-21 12:09:17 +02:00
|
|
|
set global debug_dbug='+d,auth_invalid_plugin';
|
|
|
|
create user 'bad' identified by 'worse';
|
2019-07-26 07:03:39 +02:00
|
|
|
ERROR 1045 (28000): Plugin foo/bar could not be loaded: invalid plugin name
|
2019-07-21 12:09:17 +02:00
|
|
|
set global debug_dbug=@old_dbug;
|
|
|
|
drop user bad;
|
2020-01-17 15:08:11 +01:00
|
|
|
set global debug_dbug='+d,increase_srv_handshake_scramble_len';
|
|
|
|
connect(localhost,root,,test,MASTER_MYPORT,MYSQL_TMP_DIR/mysqld.1.sock);
|
2020-01-20 16:15:05 +01:00
|
|
|
connect con1,localhost,root;
|
2021-04-21 11:45:00 +03:00
|
|
|
ERROR HY000: Received malformed packet
|
2020-01-17 15:08:11 +01:00
|
|
|
set global debug_dbug=@old_dbug;
|
|
|
|
set global debug_dbug='+d,poison_srv_handshake_scramble_len';
|
|
|
|
connect(localhost,root,,test,MASTER_MYPORT,MYSQL_TMP_DIR/mysqld.1.sock);
|
2020-01-20 16:15:05 +01:00
|
|
|
connect con2,localhost,root;
|
2021-04-21 11:45:00 +03:00
|
|
|
ERROR HY000: Received malformed packet
|
2020-01-17 15:08:11 +01:00
|
|
|
set global debug_dbug=@old_dbug;
|
2024-01-19 14:43:51 +04:00
|
|
|
#
|
|
|
|
# Start of 11.2 tests
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# MDEV-33182 Server assertion fails when trying to test the connection with DBeaver
|
|
|
|
#
|
|
|
|
SET global debug_dbug='+d,thd_init_client_charset_utf8mb3_bin';
|
|
|
|
connect con1,localhost,root;
|
|
|
|
connection con1;
|
|
|
|
SHOW VARIABLES LIKE 'collation%';
|
|
|
|
Variable_name Value
|
|
|
|
collation_connection utf8mb3_bin
|
2024-05-28 09:08:51 +04:00
|
|
|
collation_database utf8mb4_uca1400_ai_ci
|
|
|
|
collation_server utf8mb4_uca1400_ai_ci
|
2024-01-19 14:43:51 +04:00
|
|
|
disconnect con1;
|
|
|
|
connection default;
|
|
|
|
SET global debug_dbug=@old_debug;
|
|
|
|
#
|
|
|
|
# End of 11.2 tests
|
|
|
|
#
|