Documentation Home
MySQL Cluster Manager 1.2 User Manual
Download this Manual

4.4.2 The delete cluster Command

delete cluster [--removedirs] cluster_name

This command deletes the cluster named cluster_name; that is, it removes the process from the listing from this cluster, as well as any configuration and data files relating to this cluster.

delete cluster does not remove any MySQL Cluster binaries from hosts.

This example demonstrates how to delete a cluster named mycluster, along with its configuration and data files:

mcm> delete cluster mycluster;
| Command result               |
| Cluster deleted successfully |
1 row in set (1.22 sec)

delete cluster fails if the cluster to be deleted is running, as shown here:

mcm> delete cluster mycluster;
ERROR 5010 (00MGR): All processes must be stopped to delete cluster mycluster

You must shut down the cluster first, using stop cluster.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.