dbeaver / dbeaver

Free universal database tool and SQL client
https://dbeaver.io
Apache License 2.0
38.31k stars 3.31k forks source link

SQL Editor: Reconnect to the database if disconnected #34536

Closed ShadelessFox closed 7 hours ago

ShadelessFox commented 4 days ago

Currently, if you try executing a query in the SQL editor against a disconnected data source, DBeaver will show an error that the connection needs to be established manually. Instead, we can ask the user if they want to connect and execute the query.

ask9 commented 4 days ago

Please also consider an option in settings to disable the confirmation (agree automatically without confirmation). Some other RDBMS behave in this way.

serge-rider commented 7 hours ago

We already have this feature: image

Just enable "Connect on query execute"

ShadelessFox commented 7 hours ago

I thought this option was turned off by default (and it indeed was until this year). I guess the issue can be closed now.