Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Could not add database (Any Database Type/Engine Fails) #3530
Actually it were created by an older team who is no longer available. Is there a way we can introspect from the .db file itself?…
________________________________ From: Paweł Salawa <email@example.com> Sent: Monday, June 10, 2019 6:28 PM To: pawelsalawa/sqlitestudio Cc: lavanyadeepak; Author Subject: Re: [pawelsalawa/sqlitestudio] Could not add database (Any Database Type/Engine Fails) (#3530) Do you know what database engine was this file created with in the first place? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<#3530?email_source=notifications&email_token=AAQ5PRWHW4DVTF3BOYS7Q73PZZFYHA5CNFSM4HWSUXB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJZUZY#issuecomment-500406887>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAQ5PRU7JD47SCXOXOFQAMLPZZFYHANCNFSM4HWSUXBQ>.
SQLite 2 & 3 are not encrypted, thus you could see a literal "SQLite 3" or "SQLite 2" in file header when you open it with notepad. That being said, if it was either of these two, SQLiteStudio would open them without an issue.
If it's one of encrypted SQLite databases, you need to know correct password. Unfortunately there is no way to know if the password is incorrect, or if the file is not SQLite database at all. You either know it's SQLite file, you know which algorithm was used (SQLCipher, WxSQLite3, System.Data.SQLite) and what was the password, or you don't know them and you won't be able to open it. Sorry.
There is a way to show error message of connection test (answering your question from original post), but I don't think it will help you much. Anyway, to see the message you need to start SQLiteStudio in debug mode (from command line:
Here is my debug information:
[18:11:42.567] DEBUG: Using configuration directory: "C:/Users/LavanyaDeepak/AppData/Roaming/sqlitestudio"