MySQL8.0+:
1.查看当前会话隔离级别
select @@transaction_isolation;
2.查看系统当前隔离级别
select @@global.transaction_isolation;
MySQL5.0+:
select @@tx_isolation;
select @@global.tx_isolation;