Skip to content

Commit 81cbc9c

Browse files
authored
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 3e43c42 commit 81cbc9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/clickhouse/README.md

+1-1
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)