Change SQLite database mode to read-write

前端 未结 14 602
盖世英雄少女心
盖世英雄少女心 2020-12-13 01:35

How can I change an SQLite database from read-only to read-write?

When I executed the update statement, I always got:

SQL error: attempt to wr

14条回答
  •  青春惊慌失措
    2020-12-13 02:33

    I had this problem today, too.

    It was caused by ActiveSync on Windows Mobile - the folder I was working in was synced so the AS process grabbed the DB file from time to time causing this error.

提交回复
热议问题