| Previous | Next |
| SQLITE_E_NOMEM | SQLITE_E_INTERRUPT |
SQLITE_E_READONLY
SQLITE_E_READONLY corresponds to SQLite SQLITE_READONLY. The database cannot accept the requested write in its current configuration or filesystem environment.
What to check
- Verify filesystem permissions for the database and the directory that must hold journal or WAL sidecar files.
- Check whether the connection was intentionally opened read-only or whether
PRAGMA query_onlywas enabled. - For a mounted or copied database, verify the intended writable target instead of changing permissions on an original evidence or backup copy.
PRAGMA query_only;
SQLite: Result and Error Codes
Looking for a different code? Search another status or error code.