There are two types of failures:
1. change_user does automatically reconnect in the 5.7 version of mysqltest
@@ -63,8 +63,6 @@
"Query","<ID>","<DATETIME>","select","<CONN_ID>",0,"SELECT * FROM t","user1[user1] @ localhost []","localhost","","",""
"Query","<ID>","<DATETIME>","change_db","<CONN_ID>",0,"use `db1`","user1[user1] @ localhost []","localhost","","","db1"
"Change user","<ID>","<DATETIME>","<CONN_ID>",1044,"user2","user2","","","localhost","",""
-"Quit","<ID>","<DATETIME>","<CONN_ID>",0,"user1","user1","","","localhost","","db1"
-"Connect","<ID>","<DATETIME>","<CONN_ID>",0,"user1","user1","","","localhost","","db1"
"Connect","<ID>","<DATETIME>","<CONN_ID>",0,"user1","user1","","","localhost","","db1"
"Quit","<ID>","<DATETIME>","<CONN_ID>",0,"user1","user1","","","localhost","","db1"
"Quit","<ID>","<DATETIME>","<CONN_ID>",0,"user1","user1","","","localhost","","db1"
2. warning appears after INSTALL PLUGIN (which is emitted upon UNINSTALL PLUGIN)
"Query","<ID>","<DATETIME>","install_plugin","<CONN_ID>",0,"INSTALL PLUGIN audit_log SONAME 'audit_log.so'","root[root] @ localhost []","localhost","","",""
"Quit","<ID>","<DATETIME>","<CONN_ID>",0,"root","root","","","localhost","","test"
+"Query","<ID>","<DATETIME>","show_warnings","<CONN_ID>",0,"SHOW WARNINGS","root[root] @ localhost []","localhost","","","test"
"Query","<ID>","<DATETIME>","select","<CONN_ID>",0,"SELECT * FROM t","user1[user1] @ localhost []","localhost","","",""
"Query","<ID>","<DATETIME>","change_db","<CONN_ID>",0,"use `db1`","user1[user1] @ localhost []","localhost","","","db1"
"Change user","<ID>","<DATETIME>","<CONN_ID>",1044,"user2","user2","","","localhost","",""
https:/ /github. com/percona/ percona- server/ pull/941