查詢當前正在執(zhí)行的sql 方式一 select * from information_schema.`PROCESSLIST` where info is not null; 方式二 show PROCESSLIST;