Skip to content

Commit d8961a7

Browse files
Prometheus2677FPiety0521
authored andcommitted
fix: incorrect clickhouse dns example
The current example for the Clickhouse DSN is incorrect and will result in the client trying to use the default username, database, and password regardless of what is set in the DSN. This change fixed the DNS example to be correct for the current versions of the clickhouse-go client.
1 parent 3934da0 commit d8961a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/clickhouse/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ClickHouse
22

3-
`clickhouse://host:port?username=user&password=qwerty&database=clicks&x-multi-statement=true`
3+
`clickhouse://username:password@host:port/database=clicks?x-multi-statement=true`
44

55
| URL Query | Description |
66
|------------|-------------|

0 commit comments

Comments
 (0)