Graph Database Server Commands and Controls
To run the Graph Database server you, must run the executable named tgdb. This executable is placed within the bin folder.
The command to run tgdb is: tgdb [cmd] [options] -c|--config <config filename>
Commands can be any one of the following:
Command Format | Description |
---|---|
-i, --initdb | Initialize a Database. When running this, specify
initdb.conf as the config file.
For example: tgdb -i -c <initdb configuration file> |
-s, --server | Start a Database. When running this, specify
tgdb.conf as the config file.
For example: tgdb -s -c <tgdb configuration file> |
Options can be any one of the following:
Options Format | Description |
---|---|
-f, --force | Force creation. This deletes all the data in the directory specified by the conf file. The option can only be used with the
-i option. It is valid only for the
initdb command.
For example: tgdb -f -i -c <initdb.conf> |
-Y, --accept-license | Accepts End User License Agreement (EULA) without a prompt. Valid for all commands. |
-h, --help | Help |
To run a new database instance, you must first initialize the database before running it.
After configuring the conf files appropriately, run the following commands:
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.