I'm using MySQL Workbench 6.3 on my OS X 10.9.5 to manage several cloud databases (hosted on Rackspace), and I get the following issue:
When inactive for 5 minutes, the following problems happen:
- I cannot run any query (error 2013: Lost connection to MySQL server during query)
- when trying to browse tables on my db, I'm getting messages like "Tables could not be fetched", "Views could not be fetched", and so on
- when refreshing the left panel, I get a "Error Code: 2006 MySQL server has gone away"
So basically the connection is gone.
This is really annoying since it happens after only 5 minutes of inactivity. Therefore I need to close the connection and reopen it each time.
I also tried this: MySQL Workbench: How to keep the connection alive, which didn't change anything. In my Workbench Preferences tab, I have the following setup:
- DBMS connection keep-alive interval (in seconds): 600
- DBMS connection read time out (in seconds): 600
- DBMS connection time out (in seconds): 60
Notice that this issue happens precisely after 5 minutes of inactivity! If I run two queries in a 4'59 minutes interval it works perfectly fine. Also my colleagues who connect to the same database on their Workbench don't have this issue.
Does anybody have a solution for this?
This bug exists in all versions of MySQL Workbench beyond 6.0 (at this time : 6.1, 6.2 and 6.3 have the bug).
Downgrade to MySQL Workbench 6.0.x seems the only way to fix this problem.
Download MySQL Workbench 6.0.x : http://dev.mysql.com/downloads/workbench/6.0.html