Command Line Parameters

Iotellect Server can be run with any of the following command-line parameters:

Parameter

Description

-a

Enable safe mode.

-c

Create database structure. This option instructs Iotellect Server to try (re-)creating its database schema including all tables and indexes. No existing tables or indexes will be affected by this operation.

-e <filename>

Execute script file <filename> on startup.

-f <filename>

Use global configuration file <filename>.

-h

Print the list of command line options and exit.

-o <directory>

Set home directory to <directory>.

-p <user> <pass>

Set new password <pass> for account <user>.

Example: %program files%IotellectServerIotellect_server.exe -p admin 12345

This command will start Iotellect Server and change password of user admin to 12345.

-s <filename>

Execute SQL commands contained in file <filename> on startup.

-u

Update database structure after upgrading Iotellect Server to newer version. This option forces Iotellect Server to create missing database tables add missing fields into existing tables. Note, that no indexes are ever created by this operation. When migrating to a new database engine, it's always necessary to use -c command line option for creating all tables with indexes.

Was this page helpful?