How to automatically close connections when Script window is closed ? #2998
Comments
|
DBeaver opens connection when you actually connect - e.g. expand connection node in database navigator. SQL script is just one of possible windows which can be additionally opened for that connection. To close a connection just click on Disconnect button in main toolbar. It will close active connection (the one associated with current open editor or current navigator selection). |
|
Hello, I have a similar question, how can I set DBeaver to close all current connections when I exit the application? |
I would love that feature too. |
|
+1 for that last comment |
+1 |
|
Also for the Eclipse plugin, ability to disconnect on events. For instance running DBeaver plugin connected to SQLlite db, and using PyDev to work on script using same DB. If DBeaver is connected, will kill python script for sharing violation. Would be nice if the plugin was watching events, and saw the run preevent and disconnected the SQLlite DB's, so the script could run without errors. |
|
Still any way to do this? I have my db instances running in a docker container, and DBeaver will complain when I close and re-open the application later when the instances aren't running. |
|
Hello I'm planning to work on this. Will try to come up with a pull request. I'll update here if I'm not able to. |
|
Sorry for the huge latency. It seems I'm not able to build the project to start with |


Hello,
When I'm using a MySql script, connecting to the desired serveur and database, after running the script (a select query) if I close the script window, the connection to the database is keeped.
How to autoatically realase the connection when window is closed ?
Some client side items don't work if there's another connection to the database.
Thanks
The text was updated successfully, but these errors were encountered: