Collection Contents Index -dh database option Next PDF

SQL Anywhere® Server - Database Administration  > The Database Server  > The SQL Anywhere database server  > Database options

-ek database option


Specifies the key for a strongly encrypted database. The -ek database option must be specified after the database-file, and applies only to that database.

Syntax

{ dbsrv10 | dbeng10 } [ server-options ] database-file -ek key ...

Remarks

You must provide the key value with the -ek option to start an encrypted database. The key is a string, including mixed cases, numbers, letters, and special characters.

If you want to enter the encryption key in a dialog so it cannot be seen in clear text, use the -ep server option. See -ep server option.

If you want to secure communication packets between client applications and the database server use the -ec server option and transport-layer security. See Transport-Layer Security.

See also
Example

The following example starts a database and specifies the encryption key on the command line.

dbsrv10 -x tcpip mydata.db -ek "Akmm9u70y"

Collection Contents Index -dh database option Next PDF