According to the official documentation, it is recommended to set the transaction isolation level in the mysql parameter file. This setting method should be global and has nothing to do with which database.
To set the default isolation level to REPEATABLE READ, use these lines in the [mysqld] section of an option file: [mysqld] transaction-isolation = REPEATABLE-READ
According to the official documentation, it is recommended to set the transaction isolation level in the mysql parameter file. This setting method should be global and has nothing to do with which database.
To set the default isolation level to REPEATABLE READ, use these lines in the [mysqld] section of an option file:
[mysqld]
transaction-isolation = REPEATABLE-READ