I want to add some record in my database it is read_only by default, how I can change its mode to add the record. I want some linux command, I was trying gfix but it failed to execute.

  • Could you show exactly what you've tried and what it shows you? – Oli Jan 30 '15 at 15:29

First, make sure you have write permission to the sqlite file. Then, make sure you have write permission to the directory that the sqlite file is in. This is because SQLite keeps a hidden journal file in the same directory.

  • Thanks I check the permissions at the end insert the data via a root. – Root Jan 30 '15 at 15:31

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.