Search code examples
sqlitepassword-recovery

How do i reset my SQLite password?


I recently installed SQLite but then I forgot my password, I don't need to get the database back I just need to reset the password (or reconfigure).

Forgot to say, I don't want to bruteforce or anything else (i think it's illegal anyways).

Thanks in advance.


Solution

  • If you don't want the database, you can just delete it and create a new one. So far as I understand it, the user authentication extension is implemented per-database

    Just rename (or delete if you're super-confident) the database file, and run sqlite <database> to create it anew