Bug #78852 MySQL Workbench Defaults to REPEATABLE-READ regardlessly of server setting
Submitted: 16 Oct 2015 0:48 Modified: 16 Oct 2015 6:11
Reporter: Yaning Zhu Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.3, 6.3.4 OS:Any
Assigned to: CPU Architecture:Any
Tags: ISOLATION, read, repeatable, transaction

[16 Oct 2015 0:48] Yaning Zhu
Description:
Workbench ignores the tx_isolation setting on the server. It always defaults to REPEATABLE-READ. 

Need an option to allow Workbench to connect using server's setting by default.

How to repeat:
Connect to any MySQL instance.

`show session variables like '%tx%'` will always show REPEATABLE-READ.

Suggested fix:
Add an option in the preferences menu to allow us to specify isolation level.

Or let us modify a default .cnf file for Workbench.
[16 Oct 2015 6:11] Umesh Shastry
Hello Yaning Zhu,

Thank you for the report.

Thanks,
Umesh
[22 Apr 2016 20:19] Trey Raymond
This just caused an outage that was fun to diagnose when an SE was using workbench without our knowledge.  This is a very serious degradation.  Please raise the severity, as workbench is basically useless on any enterprise system without a fix.
[22 Feb 15:17] Xinglong Fan
Hi, MySQL bug support team, We have met the same issue in 

MySQL Version: MySQL 5.6.26 
MySQL workbench Version: 6.3 CE.

Reprodure:
Step1: check the my.cnf files to confirm the transaction isolation was setting as Read-committed.
Step2: open one connection in MySQL workbench
Step3: Go to audit log and check what has been done:
I have found: the SQLTEXT like below, the line3 updated the isolation:
SET NAMES utf8
set autocommit=1
SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ
SET CHARACTER SET utf8
SET NAMES utf8
Step3: Check the session level transaction isolation.
it retruned REPEATABLE-READ.
show session variables like 'tx_isolation';

Step4: check other applicaitons, I have checked by MySQL client for linux, Toad for MySQL, Sqlyog, all shows with correct value: show session variables like 'tx_isolation'; as Read-committed.

What we have done: 
1. We tried to modify the file from installnation file: modules/opts.py for the transaction-isolation, we changed the default value to READ-COMMITTED, and restart the MySQL Workbench, but it not helped.
then we tried to remove the setting for the transaction_isolation and innodb_api_trx_level line and  it not helped either.

2. We tried to find somesettings on MySQL workbench GUI, but nothing related to the isolation setttings.

Please help to identify the root cause and provide a solution or ETA for fixing. Thanks.