1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| -- 查看自动提交 SELECT @@autocommit -- 查看全局隔离级别和会话隔离级别 SELECT @@global.tx_isolation, @@tx_isolation; -- 查看引擎的事务状态,这里可以看出死锁日志,但需要 PROCESS privilege(s) show engine innodb status
show table status like 'dept_emp'
SHOW VARIABLES LIKE '%innodb_default_row_format%'
show binary logs;
show master status;
show binlog events in 'binlog.000156';
|