MySQL Cluster Manager 9.3 User Manual / ... / MySQL Cluster Manager Client Commands / MySQL Cluster Manager Cluster Commands / The stop cluster Command
stop clustercluster_name This command stops the cluster namedcluster_name, if it is running, as shown in this example:
mcm> stop cluster mycluster;+------------------------------+| Command result |+------------------------------+| Cluster stopped successfully |+------------------------------+1 row in set (21.31 sec)stop cluster fails if the cluster is not in an operational state (seeSection 5.4.6, “Theshow status Command”, for information about obtaining the cluster's status):
mcm> show status --cluster mycluster;+-----------+---------+---------+| Cluster | Status | Comment |+-----------+---------+---------+| mycluster | stopped | |+-----------+---------+---------+1 row in set (0.01 sec)mcm> stop cluster mycluster;ERROR 5006 (00MGR): Cluster mycluster is stoppedstop cluster cannot be used on a cluster created for import until the import has been completed. SeeSection 5.4.1, “Thecreate cluster Command”, andSection 4.5, “Importing MySQL NDB Clusters into MySQL Cluster Manager”, for more information.