Hi,

> java -cp h2*.jar org.h2.tools.ChangeFileEncryption -cipher "XTEA" -dir "~" 
> -db "test"
Are you sure? If I run that, I get the following exception:
"Encryption or decryption password not set, or cipher not set"

Do you already know about the "Error Analyzer"? The link is on the H2
main page: http://www.h2database.com/html/sourceError.html

If you use it, you will get the informations that: "The error with
code 90049 is thrown when trying to open an encrypted database with
the wrong file encryption password or algorithm."

I guess that's what happened here. Please tell me if you are sure this
is not the problem.

See also:
http://www.h2database.com/javadoc/org/h2/tools/ChangeFileEncryption.html#main_String...
http://www.h2database.com/html/features.html#file_encryption

By the way, please ensure the database is closed when using the tool.

Regards,
Thomas

--

You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.


Reply via email to