-
-
Notifications
You must be signed in to change notification settings - Fork 813
Closed
Labels
Description
The getting started docs currently suggest you try this to browse your Chrome history:
datasette ~/Library/Application\ Support/Google/Chrome/Default/History
But if Chrome is running you will likely get this error:
sqlite3.OperationalError: database is locked
Turns out there's a workaround for this which I just spotted on the SQLite forum:
You can do this using a URI filename:
sqlite3 'file:places.sqlite?mode=ro&nolock=1'That opens the file
places.sqlitein read-only mode with locking disabled. This isn't safe, in that changes to the database made by other corrections are likely to cause this connection to return incorrect results or crash. Read-only mode should at least mean that you don't corrupt the database in the process.
Reactions are currently unavailable