Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I set MySQL Workbench to automatically disconnect from server?

Is there a way to set Workbench to automatically disconnect from the server when idle?

The command line mysql client disconnects when idle and then reconnects when you run a query. I'd like Workbench to disconnect automatically, too.

I cannot modify the server's timeout settings. But the command line client works as desired with the current server settings.

like image 259
Vlad Avatar asked Dec 11 '22 06:12

Vlad


1 Answers

See the MySQL Workbench preferences:

enter image description here

There's no automatic reconnection however. You can however use menu -> Query -> Reconnecto to Server for manual reconnection.

like image 75
Mike Lischke Avatar answered Dec 28 '22 09:12

Mike Lischke