Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
运行以下命令;
SHOW ENGINE INNODB STATUS\G;
然后是一些输出;
7 个锁结构,堆大小 3024,25 行锁,撤消日志条目 1,MYSQL 线程 id 30945,查询 id 1913360 localhost 127.0.0.1
如何解锁这个锁?
您可以尝试使用FLUSH TABLE user
FLUSH TABLE user