mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
20 lines
855 B
Text
20 lines
855 B
Text
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;
|
|
set global debug_dbug='+d,auth_invalid_plugin';
|
|
create user 'bad' identified by 'worse';
|
|
ERROR 1045 (28000): Plugin foo/bar could not be loaded: invalid plugin name
|
|
set global debug_dbug=@old_dbug;
|
|
drop user bad;
|
|
set global debug_dbug='+d,increase_srv_handshake_scramble_len';
|
|
connect(localhost,root,,test,MASTER_MYPORT,MYSQL_TMP_DIR/mysqld.1.sock);
|
|
connect con1,localhost,root;
|
|
ERROR HY000: received malformed packet
|
|
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);
|
|
connect con2,localhost,root;
|
|
ERROR HY000: received malformed packet
|
|
set global debug_dbug=@old_dbug;
|