tursodatabase / libsql-shell-go

7 stars 7 forks source link

.dump causes an error #166

Closed brun0ne closed 1 month ago

brun0ne commented 6 months ago

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?

haaawk commented 6 months ago

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

brun0ne commented 6 months ago

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.