tursodatabase / turso-cli

Command line interface to Turso.

Home Page:https://turso.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"error code 502" when loading from dump with `turso db shell somedb < dump.sql`

kwerdna19 opened this issue · comments

Hello,

I have a relatively large dump file (about 240MB) and am having trouble executing it on my turso instance with the command turso db shell somedb < dump.sql as (mentioned in the docs here)

The command connects for a second, and then outputs the entire dump file and at the bottom has what looks like a cut-off error message:

...
CREATE UNIQUE INDEX "List_name_key" ON "List"("name");
COMMIT;

error code 502:
andrew@Macbook Desktop %

Not sure Im running up against some limitations here but maybe seeing the full error message would help?

Rather not post the dump here but let me know and I can try to make a generic repro.

Thanks!

Hi @kwerdna19 Would you be willing to share the dump privately? Any reproducer would do really. Thanks

Have the same issue, any solutions as of yet?