mysql如何杀掉指定用户的所有链接

来源:互联网 发布:apache性能测试工具 编辑:程序博客网 时间:2024/05/16 14:14
select concat('KILL ',id,';') from information_schema.processlist where user='dbaas_t2' into outfile '/tmp/a.txt';
source /tmp/a.txt;
原创粉丝点击