-- 查看当前运行的事务,这点在变更表结构之前必须要查看
select
* from information_schema.innodb_trx;
-- 查看当前运行的事务的账户和事务开始的时间,及其事务语句
select a.id,a.user,a.host,b.trx_started,b.trx_query from information_schema.processlist a right outer join information_schema.innodb_trx b on a.id = b.trx_mysql_thread_id;

 

遇到问题,不定期更新!!!

相关文章:

  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案