sqld icon indicating copy to clipboard operation
sqld copied to clipboard

"Error: failed to checkpoint database while recovering replication log" when reading sqlite3 db

Open CodingDoug opened this issue 2 years ago • 2 comments

If you use to sqld to create a database file, you can query it with sqlite3 no problem. If you use sqlite3 to create the file, sqld hangs with that message at startup.

CodingDoug avatar Jul 27 '23 21:07 CodingDoug

Please specify @CodingDoug what "reading sqlite3 db" means exactly

haaawk avatar Jul 28 '23 08:07 haaawk

To be more specific:

# Create db file
$ sqlite3 test.db

# Try to get sqld to use the file directly
$ turso dev --db-file test.db
...
Error: failed to checkpoint database while recovering replication log

CodingDoug avatar Jul 28 '23 14:07 CodingDoug