Documentation Home
MySQL Cluster Manager 8.0 User Manual
Related Documentation Download this Manual
PDF (US Ltr) - 1.3Mb
PDF (A4) - 1.3Mb


5.4.3 The list clusters Command

Press CTRL+C to copy
list clusters site_name

This command lists all clusters defined for a given management site named site_name, together with the package used by each cluster. For example, the command shown here displays a list of all clusters defined for the site named mysite:

Press CTRL+C to copy
mcm> list clusters mysite; +------------------+----------+ | Cluster | Package | +------------------+----------+ | mycluster | m-7.1.26 | | yourcluster | y-7.1.26 | | someothercluster | s-7.2.9 | +------------------+----------+ 3 rows in set (2.07 sec)

If site_name is omitted, the command fails with an error, as shown here:

Press CTRL+C to copy
mcm> list clusters; ERROR 6 (00MGR): Illegal number of operands