I created a sqlite file using the following code
sqlite3* db;
sqlite3_open("test_pwd.db", &db);
const char* pwd = "123456";
sqlite3_key(db, pwd, strlen(pwd));
char* pStr = nullptr;
sqlite3_exec(db, createSQL, nullptr, nullptr, &pStr);
sqlite3_close(db);
Then I opened the file with Navicat and used the password '123456', but it was prompted that this is not a sqlite database file!How can I open it by navicat?
I created a sqlite file using the following code
sqlite3* db;sqlite3_open("test_pwd.db", &db);const char* pwd = "123456";sqlite3_key(db, pwd, strlen(pwd));char* pStr = nullptr;sqlite3_exec(db, createSQL, nullptr, nullptr, &pStr);sqlite3_close(db);Then I opened the file with Navicat and used the password '123456', but it was prompted that this is not a sqlite database file!How can I open it by navicat?