X Tutup
The Wayback Machine - https://web.archive.org/web/20210817085650/https://github.com/dbeaver/dbeaver/issues/2998
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to automatically close connections when Script window is closed ? #2998

Open
sae-gfc opened this issue Feb 19, 2018 · 10 comments
Open

How to automatically close connections when Script window is closed ? #2998

sae-gfc opened this issue Feb 19, 2018 · 10 comments

Comments

@sae-gfc
Copy link

@sae-gfc sae-gfc commented Feb 19, 2018

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

@serge-rider
Copy link
Member

@serge-rider serge-rider commented Feb 20, 2018

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).

@Vinicius-Almeida-94
Copy link

@Vinicius-Almeida-94 Vinicius-Almeida-94 commented Apr 25, 2018

Hello,

I have a similar question, how can I set DBeaver to close all current connections when I exit the application?

@Zabbah
Copy link

@Zabbah Zabbah commented Mar 5, 2019

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.

@marcushenningsen
Copy link

@marcushenningsen marcushenningsen commented May 10, 2019

+1 for that last comment

@erosinnocenti
Copy link

@erosinnocenti erosinnocenti commented Jun 19, 2019

Hello,

I have a similar question, how can I set DBeaver to close all current connections when I exit the application?

+1

@awinner1
Copy link

@awinner1 awinner1 commented Nov 13, 2019

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.

@serge-rider serge-rider removed the ts: s label Feb 13, 2020
@spelcaster
Copy link

@spelcaster spelcaster commented Mar 11, 2020

Hello,

I have a similar question, how can I set DBeaver to close all current connections when I exit the application?

https://dba.stackexchange.com/a/211730

@Stetzon
Copy link

@Stetzon Stetzon commented Apr 21, 2021

Hello,

I have a similar question, how can I set DBeaver to close all current connections when I exit the application?

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.

@saygindogu
Copy link

@saygindogu saygindogu commented May 24, 2021

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.

@saygindogu
Copy link

@saygindogu saygindogu commented Aug 16, 2021

Sorry for the huge latency. It seems I'm not able to build the project to start with 😕 And I forgot to update here. If I do not come up with a PR you can assume I'm not working on this for now. Sorry again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
10 participants
X Tutup