1set @old_dbug=@@global.debug_dbug;
2set global debug_dbug='+d,auth_disconnect';
3create user 'bad' identified by 'worse';
4set global debug_dbug=@old_dbug;
5drop user bad;
6set global debug_dbug='+d,auth_invalid_plugin';
7create user 'bad' identified by 'worse';
8ERROR 1045 (28000): Plugin foo/bar could not be loaded: invalid plugin name
9set global debug_dbug=@old_dbug;
10drop user bad;
11set global debug_dbug='+d,increase_srv_handshake_scramble_len';
12connect(localhost,root,,test,MASTER_MYPORT,MYSQL_TMP_DIR/mysqld.1.sock);
13connect con1,localhost,root;
14ERROR HY000: received malformed packet
15set global debug_dbug=@old_dbug;
16set global debug_dbug='+d,poison_srv_handshake_scramble_len';
17connect(localhost,root,,test,MASTER_MYPORT,MYSQL_TMP_DIR/mysqld.1.sock);
18connect con2,localhost,root;
19ERROR HY000: received malformed packet
20set global debug_dbug=@old_dbug;
21