1、执行语句 SELECT * FROM performance_schema.data_locks
2、查看上面语句查询出的THREAD_ID,去performance_schema.threads表查找THREAD_ID对应的PROCESSLIST_ID
3、执行KIll PROCESSLIST_ID
1、执行语句 SELECT * FROM performance_schema.data_locks
2、查看上面语句查询出的THREAD_ID,去performance_schema.threads表查找THREAD_ID对应的PROCESSLIST_ID
3、执行KIll PROCESSLIST_ID