I’m trying to decrypt an encrypted db using sqlcipher_export() and I’m getting an error:
Any ideas?
I’m trying to decrypt an encrypted db using sqlcipher_export() and I’m getting an error:
Any ideas?
Hi @adrianhara
There was a reply to your question on S.O. that may explain why you receive the exception. You might want to verify the database you are exporting to either doesn’t exist prior to the export operation, or at least that the schema isn’t present there. Would you give that a try and let us know your results?
Hi,
It was my mistake: I didn’t supply the full path to the DB to attach and kind of assumed it would be attached in the same folder as the db in the connection. Turns out that was a wrong assumption and the db was created in another folder and subsequent exports failed because it already existed.
Cheers!
Hi @adrianhara
Glad to hear you were able to resolve the issue. Take care!