Connect to a Datastore via a command line

There are various ways to connect to a Datastore via a command line:

Configuration database connection window

Example

Connect to an existing Datastore silently

Create a new Datastore silently

Public property

 

Functionality

CREATEDB

Empty or NO

Specify if a new database should be created.

  • Specify /CREATEDB=NO to connect to an existing Datastore.
  • Specify /CREATEDB to create a new Datastore.

DBSERVER

[SERVERNAME]

Specify the database server that hosts the Datastore.

  • If the database server uses instances, use the format: server\instance. Unattended installations on instances in which this format isn't used fail.
  • Example: DBSERVER=SQLServer01

DBNAME

[DATABASENAME]

Specify the name of the Datastore that you want to connect to or want to create.

  • Example: DBNAME=IDDB

DBTYPE

MSSQL, DB2, ORACLE, MYSQL or MSSQLAZURE

Specify the database type.

  • Example: DBTYPE=MSSQL

DBCREATEUSER

[USERNAME]

Specify a database user account that has the rights to create new databases and logins, e.g. sa. This must be an existing SQL user. Use this property only when you create a new Datastore.

DBCREATEPASSWORD

[PASSWORD]

Specify the plain text database password that should be used to create the new database.

  • Use this property only when you create a new Datastore.
  • Example: DBCREATEPASSWORD=SAPassword

DBUSER

[DBUSERNAME]

Specify the database user account that can connect to the database.

  • When you create a new Datastore, a new user account is created with this name.
  • Example: DBUSER=IDUser

DBPASSWORD

[DBPASSWORD]

Specify the corresponding plain text password of DBUSER.

  • Example: DBPASSWORD=IDUserPassword

DBENCRYPTION

YES or NO (default)

Specify if protocol encryption should be used (Microsoft SQL Server database systems only).

  • The default value is NO: leave out this property if you don't want to use protocol encryption or if you use a different database system.

DBIMPORTLICENSE

[FILEPATH]

Specify a license file that should be imported after the Datastore has been created (optional).

  • Example: DBIMPORTLICENSE="C:\TEMP\License.xml"
See also

Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other