Skip to content

How to create a sqlite database file that can be opened with navicat for sqlite #52

Answered by utelle
cjl3230 asked this question in Q&A
Discussion options

You must be logged in to vote

Well, in the meantime I confirmed that Navicat supports the cipher scheme aes128cbc (which is the cipher scheme that was in use in wxSQLite3 for a long time, until support for other cipher schemes was added).

If you want to create a new database file that is compatible with Navicat, you have to explicitly select the cipher scheme. There are 2 methods to accomplish that:

  1. Use the URI form for the database file name, like file:db-file-name.db3?cipher=aes128cbc in the sqlite3_open function, and then set the chosen password with function sqlite3_key.
  2. Use only the database file name in function sqlite3_open, use function sqlite3_exec to execute the cipher scheme selection with SQL statement PR…

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by utelle
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #49 on October 10, 2021 17:13.