Watch the 7.3 Webinar On-Demand
This new release brings updates to Universal Storage, query optimization, and usability that you won’t want to miss.

env

Info

SingleStore Managed Service does not support this command.

Display the runtime environment for a SingleStore tool.

Usage

memsql-toolbox-config env [flags]
memsql-deploy env [flags]
memsql-admin env [flags]
memsql-report env [flags]

Flags:
  -h, --help   help for env

Global Flags:
  -c, --config FILE_PATH       the Toolbox configuration file path
  -j, --json                   Enable JSON output
      --socket-dir FILE_PATH   where to put SSH ControlMaster sockets
      --state-file FILE_PATH   the Toolbox state file path
      --timeout duration       Maximum time for operation to complete (e.g., 30s, 10m, 1.5h)
  -v, --verbosity count        Increase logging verbosity
  -y, --yes                    Enable non-interactive mode and assume the user would like to move forward with the proposed actions by default

Remarks

This command is interactive unless you use either the --yes or --json flags to override interactive behavior.

Output

The following example uses the env command to display the current configuration paths for the SingleStore tools.

memsql-toolbox-config env
+------------+-------------------------------------------------------------+
| configFile |                                                             |
| stateFile  | /home/vagrant/.local/share/memsql-toolbox/toolbox-state.hcl |
| cacheFile  | /home/vagrant/.local/share/memsql-toolbox/toolbox-cache.hcl |
| socketDir  | /run/user/1000/memsql-toolbox                               |
| sshBinary  | /usr/bin/ssh                                                |
+------------+-------------------------------------------------------------+