I´m Amazon RDS mysql user and Amazon RDS does not provide shell access to DB instances, and it restricts access to certain system procedures and tables that require advanced privileges. Kill is not allowed, instead we need to use a special procedure.
CALL mysql.rds_kill(thread-ID);
My sugestion: Optimized kill statement.
It could be in a session manager, connection settings, new option like "Optimized kill statement".
Optimized "kill" statement
Please login to leave a reply, or register at first.