I can open my encrypted sqlite database with sqlite maestro application but I can not with fiedac I get this error
[FireDAC][Phys][SQLite] ERROR: Cipher: Invalid password is specified or DB is corrupted
Here is my data module unit:
object DM: TDM
OldCreateOrder = False
Height = 306
Width = 468
object FDConnection1: TFDConnection
Params.Strings = (
'Database=C:\myapps\mydb.db'
'Password=mypass'
'DriverID=SQLite')
LoginPrompt = False
Left = 48
Top = 16
end
I wrote the encryption key as a password but when I not type any password I get error:
[FireDAC][Phys][SQLite] ERROR: file is encrypted or is not a database.
What is the problem ?
<encryption>:<password>like e.g.aes-256:MyPasswordfor thePasswordconnection parameter. Consult connection definition parameters for that. I cannot give you a direct answer as you haven't mention encyption that you actually use. - Victoriafdconnectioncomponent , right click and I set the parameters above: database name, password and driver ... take your time we are in same time zone btw ... thanks - William