Running Admin

To run the admin, run the binary file named tgdb-admin placed within the <tgdb_home>/bin location. The following are the possible flags for the executable:

C:\tgdb\1.1\bin>tgdb-admin.exe -h

Usage

tgdb-admin [--url <url> [--uid <uid> [--pwd <pwd>]]] [option...]

No. Flag Default Description
1. <empty> Runs in interactive mode.
2. --url <url_spec> tcp://localhost:8222 <url_spec> : Graph Databse URL to connect to.

Required, url will be requested if unspecified.

3. --uid <username> admin <username> : Username to login as.

Required, uid will be requested if unspecified, requires url.

4. --pwd <cleartext_pwd> ***** (admin) <cleartext pwd>: cleartext password to login as.

Required, pwd will be requested if unspecified, requires url and username. When unspecified, type password as cleartext.

5. --log <path_of_log_file> <tgdb_home>/bin/log/tgdb_admin.log The path to store a log file that contains admin log outputs. User may specify full path including log file name.

Optional.

6. --file <script_file> Runs script file line by line and exits.

Any errors will be output to the log file.

Optional.

7. --accept-license Accept the EULA (End User License Agreement) in case you have not accepted during initDB (if you have accepted the EULA before, during tgdb -i option, tgdb-admin will not ask you to accept license).
8. --log-level <level> Info set log level info/user1/user2/user3/debug/debugmemory/debugwire.
9. --max-memory <memory_size> 8 MB Specifies the maximum memory usage for tgdb-admin in MB.