File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 99
10101 ) Drop in [ JDBC driver] ( https://github.com/ydb-platform/ydb-jdbc-driver/releases ) to classpath or pick this file in IDEA
11112 ) Connect to YDB
12- * Local or remote Docker (anonymous authentication):<br >` jdbc:ydb:grpc://localhost:2135 /local `
13- * Self-hosted cluster:<br >` jdbc:ydb:grpcs://<host>:2136 /Root/testdb?secureConnectionCertificate=file:~/myca.cer `
12+ * Local or remote Docker (anonymous authentication):<br >` jdbc:ydb:grpc://localhost:2136 /local `
13+ * Self-hosted cluster:<br >` jdbc:ydb:grpcs://<host>:2135 /Root/testdb?secureConnectionCertificate=file:~/myca.cer `
1414 * Connect with token to the cloud instance:<br >` jdbc:ydb:grpcs://<host>:2135/path/to/database?token=file:~/my_token `
15- * Connect with service account to the cloud instance:<br >` jdbc:ydb:grpcs://<host>:2136 /path/to/database?saFile=file:~/sa_key.json `
15+ * Connect with service account to the cloud instance:<br >` jdbc:ydb:grpcs://<host>:2135 /path/to/database?saFile=file:~/sa_key.json `
16163 ) Execute queries, see example in [ YdbDriverExampleTest.java] ( jdbc/src/test/java/tech/ydb/jdbc/YdbDriverExampleTest.java )
1717
1818### Usage with Maven
You can’t perform that action at this time.
0 commit comments