Bug #80425 Connection dropped all day even for local connection
Submitted: 18 Feb 2016 9:59 Modified: 18 Feb 2016 10:12
Reporter: Mathias Grimm Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.3.5 OS:MacOS
Assigned to: CPU Architecture:Any

[18 Feb 2016 9:59] Mathias Grimm
Description:
This bug has been happening since long time. I have tested other tools and this only happens with mysql workbench, used to be fine.
This happens to all my colleagues here in the company.

Even tweaking the connection timeouts I keep getting my connection dropped and this happens even for local connections.

The workbench hangs and the wheel spins till the app crashes or resurrects with no connection following by the MySQL has gone away message.

How to repeat:
Just leave your workbench open for a few minutes and try to run any query.

Suggested fix:
try to reconnect if the connection is lost.

try {
    executeQuery(query)
catch (LostConnectionException e) {
    reconnect();
}
[18 Feb 2016 10:12] MySQL Verification Team
Thank you for the bug report. Duplicate of http://bugs.mysql.com/bug.php?id=80225.