result of the sqlite3_open() was 0. result of the sqlite3_exec() was 8. sqlite3() errorMsg = "attempt to write a readonly database" result of sqlite3_errcode() was 8. result of sqlite3_extended_errcode() was 8. Here is my query string: "update Users set Username='hidden', Password='hidden' where Id='1';" Not sure what the problem is. I can't seem to decipher the extended code. Thanks.