Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.dump causes an error #166

Closed
brun0ne opened this issue Mar 17, 2024 · 2 comments · Fixed by #179
Closed

.dump causes an error #166

brun0ne opened this issue Mar 17, 2024 · 2 comments · Fixed by #179

Comments

@brun0ne
Copy link

brun0ne commented Mar 17, 2024

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
Copy link
Collaborator

haaawk commented Mar 17, 2024

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

@brun0ne
Copy link
Author

brun0ne commented Mar 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants