SingleStore Managed Service does not support this command.
Delete one or all MemSQL nodes on the local machine.
Delete one or all MemSQL nodes on the local machine Usage: memsqlctl delete-node [flags] Flags: -a, --all Delete all nodes on the host -h, --help Help for delete-node --memsql-id strings MemSQL ID of the node to delete --stop Stop each node before deletion 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
A node must be stopped before it can be deleted. Use the stop-node command to perform this action.
--all is not specified, memsqlctl will prompt the user to select a node from a table list of nodes.
--memsql-cnf is specified, memsqlctl will attempt to first delete the specified directories in the config (
tracelogsdir, etc.). Finally, memsqlctl will delete the
memsql.cnf file itself and its record in the node metadata file,
This command is interactive unless you use either the
--json flags to override interactive behavior.
memsqlctl delete-node command is equivalent to the memsql-admin delete-node command.
The following is the standard output for the
$ sudo memsqlctl delete-node memsqlctl will perform the following actions: · Delete SingleStore node - Base directory and contents: /var/lib/memsql/61cbf018-4256-4c43-82a7-530220e5817b Would you like to continue? [y/N]: y ✓ Deleted node defined by MemSQL config file /var/lib/memsql/61cbf018-4256-4c43-82a7-530220e5817b/memsql.cnf