Well, I’m trying get some values from places.sqlite database. But when I do
$ sqlite3 /home/<user>/.mozilla/firefox/xx.default/places.sqlite "SELECT url FROM moz_places"
I get the following error: Error: file is encrypted or is not a database how to fix this?
Most likely, there is a version mismatch between the sqlite3-library used by the “sqlite3” command, and the one firefox is using. On my laptop the command you quoted execute without errors. (Ubuntu 10.10, Firefox 11.0, libsqlite3-0 3.7.2-1ubuntu0.1)
(Ref: Error: file is encrypted or is not a database)