MySQL 查看正在执行的SQL

SELECT * FROM `information_schema`.`PROCESSLIST` WHERE `info` IS NOT NULL;

原文地址