Adding junixsocket to DBeaver
See original GitHub issueDescribe the bug
As mentioned in https://github.com/dbeaver/dbeaver/issues/10701#issuecomment-913148861 , the official com.kohlschutter.junixsocket
fork of junixsocket is incompatible with DBeaver, while no.fiken.oss.junixsocket
is compatible.
I just checked this with DBeaver 22.2.2
(latest), and I can confirm that’s still the case.
no.fiken.oss.junixsocket
is at version 1.0.2
.
Is this an issue that can be overcome? It’s not a problem (yet), but I couldn’t find evidence if you’re even aware of the issue.
The post above mentions (no.fiken compared to com.kohlschutter):
following the official postgres jdbc documentation
Which sounds suspicious. Do you think the issue is strictly within the DBeaver scope?
My use case: Now I have internal (DSL client-server) IPC using junixsocket 2.5.2
communication, I’m exploring UDS connections to PostgreSql within our framework as well (it’s currently using networking IPC on localhost).
It follows I’ll be using the same junixsocket jar for both UDS’s.
Environment:
- OS: Linux
- Distribution: Ubuntu 22.04
- Version: 2.5.2
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
I just verified that DBeaver 22.2.2 can connect to PostgreSQL 14.5 with junixsocket 2.5.2:
Server: Connect by: URL URL:
jdbc:postgresql://localhost/postgres
Driver properties: socketFactory:
org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg
socketFactoryArg:/tmp/.s.PGSQL.5432
sslmode:disable
I added junixsocket via “Edit Driver Settings / Libraries” to the PostgreSQL driver: I used “Add Artifact”. I added the following two artifacts (separately):
and
I tried
but it seems that DBeaver has a problem with POM-only dependencies, complaining about a missing jar file.
Was that maybe the issue?
The POM-issue is tracked by DBeaver via https://github.com/dbeaver/dbeaver/issues/13048, however no current milestone is set.