mysql 查询当前运行的事务

select trx_state, trx_started, trx_mysql_thread_id, trx_query from information_schema.innodb_trx;

  
SELECT * FROM information_schema.INNODB_TRX \G;

 

posted @ 2019-12-30 17:16  X__cicada  阅读(806)  评论(0编辑  收藏  举报