1call mtr.add_suppression("The plugin 'auth_socket' used to authenticate user .* is not loaded. Nobody can currently login using this account.");
2create table mysql_user_bak as select * from mysql.user;
3update mysql.user set plugin='auth_socket';
4flush privileges;
5connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET);
6ERROR 28000: Access denied for user 'USER'@'localhost' (using password: NO)
7ERROR 28000: Access denied for user 'USER'@'localhost' (using password: NO)
8install plugin auth_socket soname 'auth_socket.so';
9connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET);
10Got one of the listed errors
11ERROR 28000: Access denied for user 'USER'@'localhost' (using password: NO)
12update mysql.user set plugin='';
13delete from mysql.user;
14insert into mysql.user select * from mysql_user_bak;
15flush privileges;
16drop table mysql_user_bak;
17uninstall plugin auth_socket;
18