How can we check the current MySQL transaction isolation level?

MySQLMySQLi Database

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)
raja
Published on 22-Feb-2018 11:01:00
Advertisements