Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing firefox cookies.sqlite Error

Tags:

sqlite

firefox

When I try to access cookies.sqlite found in my firefox profile folder, I get this error:

sqlite> .table 
Error: database is locked

What do you think the error is?

[Edited] After I close firefox and read, I get and error like this

Unable to open database "cookies.sqlite": file is encrypted or is not a database

[Solution]

I was using sqlite instead of sqlite3

like image 806
rda3mon Avatar asked Feb 25 '23 20:02

rda3mon


2 Answers

Looks like you are opening it with an old version of sqlite. Use sqlite3 instead.

like image 69
Ben Lee Avatar answered Mar 03 '23 21:03

Ben Lee


recent firefox upgrade (3.5 -> 3.6) brought another sqlite storing change, sqlite > 3.7.0 is now needed

like image 39
Jean Daniel Pauget Avatar answered Mar 03 '23 21:03

Jean Daniel Pauget