Skip to content

"Authentication failed" to Clickhouse #434

Open
@Daimon04

Description

@Daimon04

relevant for version 3.6.0 and higher

I'm executed the command:
goose -dir "./db/clickhouse" clickhouse "tcp://10.0.2.7:9000?database=default&username=default&password=mypass" up

got an error:
goose run: code: 516, message: default: Authentication failed: password is incorrect or there is no user with such name

The username and password are correct. I tried using "clickhouse-client" and through it connected to Clickhouse DB. Goose version 3.5.3 also connected and worked

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions