mysql-查询当前正在执行的sql
2021-01-19 本文已影响0人
大风过岗
查询当前正在执行的sql
方式一
select * from information_schema.`PROCESSLIST` where info is not null;
方式二
show PROCESSLIST;
select * from information_schema.`PROCESSLIST` where info is not null;
show PROCESSLIST;