查询mysql正在执行的sql

版权声明:本文为博主原创文章,未经博主允许不得转载。喜欢的用小手点击文章下面的顶,不喜欢的点下踩 https://blog.csdn.net/sethcss/article/details/84999488
select * from information_schema.`PROCESSLIST` where info is not null ORDER BY time desc;  

#查询查询时的查询的正在执行的sql

tcpdump -s 0 -l -w - dst 192.168.244.10 and port 3306 -i bond0 |strings 

查询实时执行的sql

猜你喜欢

转载自blog.csdn.net/sethcss/article/details/84999488