Obtaining MySQL InnoDB Cluster Information
- Log in to the primary node using MySQL Shell.
1mysqlsh --uri root@127.0.0.1:3306
After the command is executed, enter the password for logging in to the database of the primary node.

- Use the existing MGR to create an InnoDB cluster.
1var fandercluster = dba.createCluster('fandercluster')

- Check the status of the InnoDB cluster and exit.
1fandercluster.status()
127.0.0.1:3306 is in R/W mode and is the primary node. 127.0.0.1:3307 and 127.0.0.1:3308 are in R/O mode and are secondary nodes. MGR works properly. It can be concluded that MySQL InnoDB Cluster is deployed successfully.
Parent topic: Deploying MGR (Single-Primary Mode)