SingleStore Managed Service does not support this command.
Set the license of a node on the local machine.
Set the license of a node on the local machine Usage: memsqlctl set-license [flags] Flags: -h, --help Help for set-license --license LICENSE The license to be applied --memsql-id string The MemSQL ID of the node Global Flags: -c, --config FILE_PATH Path to the memsqctl config file --default-install-dir DIRECTORY_PATH Path to the default install directory --insecure-ssl Fall back to insecure SSL connections to local SingleStore DB nodes if memsqlctl is unable to otherwise establish a connection (ADVANCED) -j, --json Print output in JSON format --node-metadata-file FILE_PATH Path to the node metadata file --parallelism POSITIVE_INTEGER Maximum amount of operations to be run in parallel --ssl-ca FILE_PATH Path to the CA certificate file in PEM format to authenticate the MemSQL server certificate --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
This command requires you to pass in a license file to
Verify the target node is running. The
set-license command cannot be run on a stopped node.
This command is interactive unless you enable non-interactive mode through the flag
--yes. In addition, if you have more than one node running on a host, you must also set
--memsql-id for non-interactive mode.
memsqlctl set-license command is equivalent to the memsql-admin set-license command.
$ sudo memsqlctl set-license --license <base64-encoded license> memsqlctl will perform the following actions on the local node on port 3306: · Run `SET LICENSE = '<base64-encoded license>'` Would you like to continue? [y/N]: y ✓ Set license on node with MemSQL ID 179062CAEEBCBDA755B75297BF6D9B2AE4C98FB7