Skip to content

Impossible to connect to local instance anymore because of connection URL format #25

@adrienave

Description

@adrienave

I used to be able to connect to my local database instance without any issue using the following connection string: jdbc:dbeaver:libsql:http://localhost:8080.

However, after latest update, the connection fails with the following error message:

Invalid connection URL: jdbc:dbeaver:libsql:http://localhost:8080. Expected URL formats: jdbc:dbeaver:libsql:<hostname>, libsql://<hostname>

Digging a bit into this project, I think the regression is coming from this PR: #22

Before this change, the syntax was very flexible for the connection URL, but now, it cannot contain neither http protocol (required for localhost), nor a specific port.

But maybe I'm just missing something and I'm supposed to somehow use the libsql protocol for local connection? Sorry, I'm not an expert in libsql.

Expected result: To be able to connect to libsql DB on localhost using a connection string such as jdbc:dbeaver:libsql:http://localhost:8080

Actual result: Failure with format URL not allowed exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions