Closed jackwang2 closed 2 years ago
Could this parameter be missing in the validation of allowed parameters @electrum ?
Also @jackwang2 what application is this screenshot from? It looks like SSLVerification is not shown.. which could be a related problem
It seems to be wired up correctly https://github.com/trinodb/trino/blob/master/client/trino-jdbc/src/main/java/io/trino/jdbc/ConnectionProperties.java#L104
Looking at your list of properties I think you might have an old jdbc driver on the classpath after all. Can you verify @jackwang2 ?
@mosabua Do you mean old trino
JDBC driver? I checked the variable java.class.path
, it only contains one jar of trino-jdbc-400.jar
.
java.sql.SQLException: Connection property 'SSLVerification' is not allowed
at io.trino.jdbc.AbstractConnectionProperty.validate(AbstractConnectionProperty.java:139)
at io.trino.jdbc.TrinoDriverUri.validateConnectionProperties(TrinoDriverUri.java:499)
at io.trino.jdbc.TrinoDriverUri.<init>(TrinoDriverUri.java:133)
at io.trino.jdbc.TrinoDriverUri.<init>(TrinoDriverUri.java:123)
at io.trino.jdbc.TrinoDriverUri.create(TrinoDriverUri.java:144)
at io.trino.jdbc.NonRegisteringTrinoDriver.connect(NonRegisteringTrinoDriver.java:53)
Could this parameter be missing in the validation of allowed parameters @electrum ?
Also @jackwang2 what application is this screenshot from? It looks like SSLVerification is not shown.. which could be a related problem
The app is aqua data studio
.
Please set SSL
connection property as true.
Ha! Good catch @ebyhr .. I totally missed that in the screenshot
Use the trino JDBC driver 400, seems it doesn't recognize property
SLVerification
mentioned in the Trino doc: