alan-turing-institute / data-safe-haven

https://data-safe-haven.readthedocs.io
BSD 3-Clause "New" or "Revised" License
61 stars 15 forks source link

Add missing DBeaver drivers #2134

Closed jemrobinson closed 1 month ago

jemrobinson commented 3 months ago

:white_check_mark: Checklist

:strawberry: Suggested change

DBeaver needs drivers for PostgreSQL and MSSQL or it is essentially unusable.

Screenshot 2024-08-16 at 12 32 41

:steam_locomotive: How could this be done?

Download and install drivers with ansible. Note this will probably require allowing access to maven.org but it might be possible to do with Nexus if #2135 is implemented.

JimMadge commented 1 month ago

Work on v4,

It looks fairly involved to 'trick' DBeaver to use drivers that you have installed yourself. I'm going to quickly try DbGate and BeeKeeper Studio to see if those package the drivers rather than trying to install them from the internet at run time.

JimMadge commented 1 month ago
Screenshot 2024-10-01 at 16 04 21
jemrobinson commented 1 month ago

Is Beekeeper free? This implies not. Looks good if it works though.

JimMadge commented 1 month ago

Community and paid for versions a bit like DBeaver. The community edition supports a good range of databases though, including postgres and SQL server.

jemrobinson commented 1 month ago

Cool - do you have time to make a PR to switch over to this?

JimMadge commented 1 month ago

Will do soon. I was just checking SQL Server also works. (getting the details right took a while 😒).

I'll add connection details to the docs.