4
SELECT IF((KILL QUERY (id)), "YES", "NO"), IF((ID >0), "YES", "NO") FROM DATA_DICTIONARY.PROCESSLIST WHERE ID != CONNECTION_ID();
5
IF((KILL QUERY (id)), "YES", "NO") IF((ID >0), "YES", "NO")
4
SELECT IF(KILL(id), "YES", "NO") FROM DATA_DICTIONARY.PROCESSLIST WHERE ID != CONNECTION_ID() AND USERNAME="bob";
14
14
SELECT KILL(CONNECTION_ID());
15
15
ERROR HY000: You cannot kill the session you are connected from.