8000 Support all DSN variants for clickhouse DATABASE_URL · Issue #489 · amacneil/dbmate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Support all DSN variants for clickhouse DATABASE_URL #489
Open
@StarpTech

Description

@StarpTech

Description
Hello, the clickhouse driver should support all DSN variants. Currently, I need to pass two connection strings to use dbmate with an application that uses clickhouse HTTP protocol.

  • Version: 2.6.0
  • Database: clickhouse
  • Operating System: Linux

Steps To Reproduce

DATABASE_URL=http://default:changeme@localhost:8123/default

Expected Behavior

HTTP should just work. The clickhouse driver has a clickhouse.ParseDSN function that does the job for all variants. I can provide a PR.

DATABASE_URL=http://default:changeme@localhost:8123/default

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0