This has happend to me when it got corrupted as I was creating it. If it is a new project, you could try deleting your sqlite file & then go to your terminal and cd to where you store your sqlite file & run "touch database.sqlite"
Mar 12, 2023
7
Level 1
SQLite is locked.
I use SQLite in my laravel project but when running this query: SELECT * FROM 'searches'; I get: Query 1: database is locked
Level 1
I restart the laptop and everything worked out 😂😂😂😂
Please or to participate in this conversation.