#获取集群状态dba.getCluster().status();#连接集群内其他实例shell.connect('root@server-1');#检查集群是否可用dba.checkInstanceConfiguration("root@node-1:3305");#删除节点cluster.removeInstance('root@host:3306',{force:true}); #加入节点cluster.addInstance("root@hostname:3306");#查看进程show processlist;#查看主节点状态show master status;#查询没有主键的表SELECT CONCAT(t.table_schema,".",t.table_name) as table_nameFROM information_schema.TABLES tLEFT JOIN information_schema.TABLE_CONSTRAINTS tcON t.table_schema = tc.table_schemaAND t.table_name = tc.table_nameAND tc.constraint_type = 'PRIMARY KEY'WHERE tc.constraint_name IS NULLAND t.table_type = 'BASE TABLE';