You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,9 @@ To enable all tests make sure you have Docker or Docker Machine installed then r
8
8
9
9
## Quickstart
10
10
11
-
1) Drop in [JDBC driver](https://repo1.maven.org/maven2/tech/ydb/ydb-jdbc-driver/0.9.0/ydb-jdbc-driver-0.9.0.jar) to classpath or pick this file in IDEA
11
+
1) Drop in [JDBC driver](https://github.com/ydb-platform/ydb-jdbc-driver/releases) to classpath or pick this file in IDEA
12
12
2) Connect to YDB
13
-
* Local or remote Docker: `jdbc:ydb:localhost:2135/local` or `jdbc:ydb:localhost:2135?database=/local`
14
-
* Dedicated: `jdbc:ydb:ydb-ru-prestable.yandex.net:2135?database=/ru-prestable/home/miroslav2/mydb&token=~/.arc/token` where `/ru-prestable/home/miroslav2/mydb` is your database and `~/.arc/token` is a location of your YDB token file.
13
+
* Local or remote Docker (anonymous authentication): `jdbc:ydb:grpc://localhost:2135/local`
14
+
* Connect with token: `jdbc:ydb:grpc://<host>:2135/path/to/database&token=~/my_token`
15
+
* Connect with service account: `jdbc:ydb:grpcs://<host>:2136/path/to/database&saFile=~/sa_key.json`
15
16
3) Execute queries, see example in [YdbDriverExampleTest.java](src/test/java/tech/ydb/jdbc/YdbDriverExampleTest.java)
0 commit comments