To open a wal mode database on a read-only medium, use a URI filename and add the immutable=1 argument. [](https://sqlite.org/uri.html#recognized_query_parameters)
To open a wal mode database on a read-only medium, use a URI filename and add the immutable=1 argument. [](https://sqlite.org/uri.html#recognized_query_parameters)