Bug #77767 Queries time out after resuming Mac from sleep
Submitted: 17 Jul 2015 15:18 Modified: 15 Sep 2015 22:05
Reporter: Zach Rattner Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:6.2.3 OS:MacOS (unknown)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[17 Jul 2015 15:18] Zach Rattner
Description:
I'm running MySQL Workbench on Mac OS X 10.10.4 on a Macbook Pro. Connections seem to time out when the machine is asleep, and when resuming from sleep the query window still appears to be active but all queries eventually time out. It can get confusing with multiple windows because you don't know which ones were opened before the computer went to sleep and they all look identical.

How to repeat:
- Connect to a MySQL server
- Leave query editor open and shut lid to laptop
- Wait a few hours
- Open the lid to the laptop
- Issue a query. It will time out.

Suggested fix:
If credentials are saved, MySQL Workbench should reconnect when resuming from sleep after a certain amount of time. 

If credentials are not saved, then MySQL Workbench should disable the query editor UI and prompt for the password again.
[15 Sep 2015 22:05] MySQL Verification Team
Thank you for the bug report. Duplicate of bug: http://bugs.mysql.com/bug.php?id=77145.