mysql查询正在执行进程

查询进行中的命令:select * from information_schema.processlist where command!='Sleep';

结束执行 :kill id

原文地址:https://www.cnblogs.com/binz/p/14636362.html