在Mysql8中,tx_isolation变量已修改为transaction_isolation
同时,修改事务隔离级别的操作可以修改为
SET transaction_isolation = ‘READ-UNCOMMITTED’;
或
SET SESSION transaction_isolation = ‘READ-UNCOMMITTED’;
CMD下:set session transaction isolation level read uncommitted;