mysql-workbench

MySQL Workbench: Reconnecting to database when "MySQL server has gone away"?


I have a lot of tabs and queries open in MySQL workbench. I left it open before I went to sleep, but this morning I am getting an error MySQL server has gone away when trying to run queries.

The database is up, and I am able to connect to it if I open a new connection on MySQL workbench, but the current connection is dead. How do I reconnect?

I don't want to open a new connection as I would have to copy my queries and tabs over.


Solution

  • Done it.

    Query Menu -> Reconnect to Server