Skip to content

Add support for connecting to a Turso db remotely #17

Open
@gerhardvr-finclude

Description

@gerhardvr-finclude

Hi,

I have a LibSQL DB on Turso.

The URL of my DB is libsql://trailsearch-gerhardvr.aws-eu-west-1.turso.io but I cannot get connected to the DB but it is not a credential issue. I've tried all the below versions of the JDBC URL, but all failed.

jdbc:dbeaver:libsql:trailsearch-gerhardvr.aws-eu-west-1.turso.io
ERROR: java.net.MalformedURLException: no protocol: trailsearch-gerhardvr.aws-eu-west-1.turso.io

jdbc:dbeaver:libsql://trailsearch-gerhardvr.aws-eu-west-1.turso.io
ERROR: java.net.MalformedURLException: no protocol: //trailsearch-gerhardvr.aws-eu-west-1.turso.io

libsql://trailsearch-gerhardvr.aws-eu-west-1.turso.io
ERROR: Invalid connection URL: libsql://trailsearch-gerhardvr.aws-eu-west-1.turso.io.
Expected URL format: jdbc:dbeaver:libsql:

jdbc:dbeaver:libsql:libsql://trailsearch-gerhardvr.aws-eu-west-1.turso.io
ERROR: java.net.MalformedURLException: unknown protocol: libsql

Of the ones I tried, jdbc:dbeaver:libsql:https://trailsearch-gerhardvr.aws-eu-west-1.turso.io/ was the most promising. At least it was not complaining about a protocol. It did however complain about 'route not found: [""]'

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions