For information about data encryption, see "Configuring database
encryption" in the
After you encrypt a database, you can return it to the unencrypted
state by specifying the
The dataEncryption=true attribute must be combined with either the
With either bootPassword=key or encryptionKey=key, you have the
option of also specifying the
An encryption key and a boot password use different storage mechanisms, so
if, for example, you create a database using a boot password, you must continue
to specify a boot password when you boot the database; you cannot switch to an
encryption key. You can change either the boot password or the encryption key
by specifying
For an existing, unencrypted database for which authentication
and SQL authorization are both
enabled, only the
After you encrypt an existing, unencrypted database, be sure to check for SQLWarnings. The encryption succeeded only if there were no SQLWarnings or SQLExceptions.