DatabaseError: file is encrypted or is not a database
There are typically three situations in which this somewhat cryptic error message can be seen:
- when trying to modify the database file and the write permission is missing; fix the permissions
- when accessing a SQLite 2.x database file with a SQLite 3.x library; see above for the upgrade instructions.
- when accessing a database that has been created in or explicitly converted to WAL mode, using a version of SQLite older than 3.7.0 (i.e. with no WAL support); upgrade your bindings to use a recent SQLite
最后
以上就是默默水杯最近收集整理的关于DatabaseError: file is encrypted or is not a database的全部内容,更多相关DatabaseError:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复