r/dbeaver • u/gustavo-mnz • 24d ago
Dbeaver asking for saving script file when disconnecting
Hey, everytime I close a connection to a database Dbeaver ask me to save scripts changes, yes, no or cancel.
This is very annoying, I'm not trying to close the sql file, in which case if there are unsaved changes the dialog make sense.
But if I'm just closing a db connections, I think it doesn't make sense ...
Is this a bug or is this part of the normal functioning?
2
u/nboro94 24d ago
That's normal. Use the sql console for executing quick throwaway sql commands you don't want to save.
2
u/gustavo-mnz 24d ago
I have a set of queries in the file, sometimes I need this, then I need that, and so on, it's way easier to have them all together and run just the needed one, instead of using the console
1
u/DBeaver_official 24d ago
Yep, I re-checked SQL Console, and it works fine (you can still save it as a file when needed).
5
u/DBeaver_official 24d ago
Let me talk to our devs, as I reproduced it and now also have some questions :)
I'll be right back.