Bug #58944 Gracefully close DB connections
Submitted: 15 Dec 2010 15:21 Modified: 25 May 2011 1:45
Reporter: Istvan Scherf Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.31 CE OS:Any
Assigned to: CPU Architecture:Any

[15 Dec 2010 15:21] Istvan Scherf
Description:
Closing the main window of MySQL Workbench when a connection to server is still active will trigger 'Aborted_clients' errors on the server-side.

How to repeat:
In case I want to close MySQL Workbench application by clicking on the close button (X) on the main window's top right part it will increment the 'Aborted_clients' variable by 3 on my DB server.

Suggested fix:
Gracefully close any active DB connection on WM_CLOSE
[15 Dec 2010 15:34] Istvan Scherf
This issue can be reproduced with the latest (5.2.31 CE) MySQL Workbench too...
[28 Dec 2010 15:41] Alfredo Kojima
fixed in mac, needs check on windows and linux
[26 Jan 2011 15:23] Alexander Musienko
Works on win too/
[25 May 2011 1:45] Paul DuBois
Noted in 5.2.34 changelog.

When the user closed the main window with a connection active,
Workbench did not terminate the connection. This lead to
Aborted_clients errors on the server side.