HomeMogDBMogDB StackUqbar
v2.0

Documentation:v2.0

Supported Versions:

Other Versions:

Uninstall Database Cluster

Note: The uninstallation operation must be done carefully, please double-check whether the current cluster can indeed be uninstalled before operating the uninstallation of the database cluster!

Uninstalling a database cluster can be accomplished with a single line of command:

ptk uninstall -n <CLUSTER_NAME>
  • <CLUSTER_NAME>: the cluster name

When uninstalling, PTK will detect whether the cluster is running or not, a running cluster is not allowed to be uninstalled, you need to stop the cluster first before uninstalling.

You need to specify the name of the cluster to be uninstalled when performing the uninstallation, you can view the cluster name by ptk ls to see the cluster name.

During uninstallation, PTK will ask you whether to delete the cluster topology information, system user, and database data.

Please perform operations with cautions, avoiding data loss due to incorrect operations.

If you are sure to delete the data directory, PTK delete only the data directory and will not delete its parent directory. You need to manually delete the parent directory.

Copyright © 2011-2024 www.enmotech.com All rights reserved.