标题:sqlite数据库磁盘映像格式不正确,怎么恢复数据库文件
只看楼主
luo_2020
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2020-8-28
 问题点数:0 回复次数:0 
sqlite数据库磁盘映像格式不正确,怎么恢复数据库文件
请问各位大神, sqlite数据库磁盘映像格式不正确,怎么恢复数据库文件?
org.sqlite.SQLiteException: [SQLITE_CORRUPT]  The database disk image is malformed (database disk image is malformed)
    at org.sqlite.core.DB.newSQLException(DB.java:909)
    at org.sqlite.core.DB.newSQLException(DB.java:921)
    at org.sqlite.core.DB.throwex(DB.java:886)
    at org.sqlite.core.NativeDB.prepare_utf8(Native Method)
    at org.sqlite.core.NativeDB.prepare(NativeDB.java:127)
    at org.sqlite.core.DB.prepare(DB.java:227)
    at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:41)
    at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:30)
    at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:19)
    at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:48)
    at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:263)
    at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:235)
    at com.xz.dao.OperatDB.getServer(OperatDB.java:178)
    at com.xz.ui.Main.<init>(Main.java:376)
    at com.xz.ui.Main.main(Main.java:405)
搜索更多相关主题的帖子: Main 数据库文件 DB java sqlite 
2020-08-28 09:20



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-502985-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.149347 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved