One - One Code All

Blog Content

mysql死锁问题,查看锁进程

MySQL   2014-12-13 19:29:16

三条SQL语句


show processlist;

SELECT * FROM information_schema.INNODB_TRX\G;

SELECT * FROM information_schema.INNODB_LOCKS;

SELECT * FROM information_schema.INNODB_LOCK_waits;



上一篇:查看mysql正在使用的配置文件
下一篇:数据库连接池SQLAlchemy+mysql的使用

The minute you think of giving up, think of the reason why you held on so long.