From 81cbc9c0582a35289c8caed45d676bf6497c9618 Mon Sep 17 00:00:00 2001 From: Keith Mitchell Date: Wed, 2 Feb 2022 17:55:16 +0000 Subject: [PATCH] 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. --- database/clickhouse/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/clickhouse/README.md b/database/clickhouse/README.md index 359b9b70e..6558bdb7a 100644 --- a/database/clickhouse/README.md +++ b/database/clickhouse/README.md @@ -1,6 +1,6 @@ # ClickHouse -`clickhouse://host:port?username=user&password=qwerty&database=clicks&x-multi-statement=true` +`clickhouse://username:password@host:port/database=clicks?x-multi-statement=true` | URL Query | Description | |------------|-------------|