Computer >> Computer tutorials >  >> Programming >> MySQL

How can we check the current MySQL transaction isolation level?


By executing SELECT @@TX_ISOLATION command we can check the current MySQL transaction isolation level.

Example

mysql> SELECT @@TX_ISOLATION;
+-----------------+
| @@TX_ISOLATION  |
+-----------------+
| REPEATABLE-READ |
+-----------------+
1 row in set (0.00 sec)