isee15 / Sqlite-Viewer

Sqlite Viewer with sqlcipher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用无法打开加密过的文件,无法查看到我创建的数据表

qpc2015 opened this issue · comments

commented

image
使用无法打开加密过的文件,无法查看到我创建的数据表

创建表用的哪个库?

我也遇到了相同的问题,数据库通过 FMDB + SQLCipher 创建,并且在程序中通过密码可以对数据库进行操作(创建表,插入数据,读取数据)。但是无法使用 �SQLitViewer打开,提示如下:

2021-07-27 00:27:34.848 SqliteViewer[16460:14026494] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7f8b45541330>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2021-07-27 00:27:36.329 SqliteViewer[16460:14026494] <FMDatabase: 0x600002d83a20> executeQuery: select name from sqlite_master where type ='table'
2021-07-27 00:27:36.425 SqliteViewer[16460:14026494] DB Error: 26 "file is encrypted or is not a database"
2021-07-27 00:27:36.425 SqliteViewer[16460:14026494] DB Query: select name from sqlite_master where type ='table'
2021-07-27 00:27:36.425 SqliteViewer[16460:14026494] DB Path: execute.db

我也遇到了相同的问题,数据库通过 FMDB + SQLCipher 创建,并且在程序中通过密码可以对数据库进行操作(创建表,插入数据,读取数据)。但是无法使用 �SQLitViewer打开,提示如下:

2021-07-27 00:27:34.848 SqliteViewer[16460:14026494] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7f8b45541330>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2021-07-27 00:27:36.329 SqliteViewer[16460:14026494] <FMDatabase: 0x600002d83a20> executeQuery: select name from sqlite_master where type ='table'
2021-07-27 00:27:36.425 SqliteViewer[16460:14026494] DB Error: 26 "file is encrypted or is not a database"
2021-07-27 00:27:36.425 SqliteViewer[16460:14026494] DB Query: select name from sqlite_master where type ='table'
2021-07-27 00:27:36.425 SqliteViewer[16460:14026494] DB Path: execute.db

https://github.com/isee15/Sqlite-Viewer/raw/fmdatabase/SqliteViewer_SQLCipher4.4.3.zip 用这个版本试试。如果不行,可以把测试数据库发一份到邮箱