tursodatabase / libsql-shell-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.dump causes an error

brun0ne opened this issue · comments

I have a db hosted on Turso.
After cloning and building I ran:

./main libsql://<libname>.turso.io --auth='<token>'

Then:

.dump

And got an error:

Error: Get "libsql://<libname>/dump": unsupported protocol scheme "libsql"

Is this intended? How to dump a db using this tool?

Does ./main https://.turso.io --auth='' work?

Yes, thank you! I think the "Query a Turso database" section of readme is a bit outdated (?authToken= does not work, and it says to use libsql://), but my issue is resolved.