show OPEN TABLES where In_use > 0;
show PROCESSLIST (Waiting for table metadata lock)
kill 106319
select concat('KILL ',id,';') from information_schema.processlist
show OPEN TABLES where In_use > 0;
show PROCESSLIST (Waiting for table metadata lock)
kill 106319
select concat('KILL ',id,';') from information_schema.processlist
1万+
1165

被折叠的 条评论
为什么被折叠?