BugHunterUK February 2016

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.

Answers


BugHunterUK February 2016

Done it.

Query Menu -> Reconnect to Server

Post Status

Asked in February 2016
Viewed 2,493 times
Voted 13
Answered 1 times

Search




Leave an answer