Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » The Database Server » The SQL Anywhere database server » Database options

-dh database option Next Page

-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.


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


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

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

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