摘要:
using Dapper; using Microsoft.Extensions.Configuration; using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Dat 阅读全文
摘要:
1.查询是否锁表 show open tables where in_use>0 2.查询进程(如果您有SUPER权限,您可以看到所有线程。否则,您只能看到您自己的线程) show processlist id 为5的证明一直在等待资源。 3.杀死进程id(就是上面命令的id列) kill id 5 阅读全文