MySQL NDB 集群 8.1 手册
MySQL NDB 集群 8.0 手册
NDB 集群 API 开发者指南
- 代码
2600
- 符号
CmvmiDumpConnections
- 内核块
描述。 显示所有集群节点之间连接的状态。当集群正常运行时,每个连接都具有相同的状态。
示例输出。
Node 3: Connection to 1 (MGM) is connected
Node 3: Connection to 2 (MGM) is trying to connect
Node 3: Connection to 3 (DB) does nothing
Node 3: Connection to 4 (DB) is connected
Node 3: Connection to 7 (API) is connected
Node 3: Connection to 8 (API) is connected
Node 3: Connection to 9 (API) is trying to connect
Node 3: Connection to 10 (API) is trying to connect
Node 3: Connection to 11 (API) is trying to connect
Node 4: Connection to 1 (MGM) is connected
Node 4: Connection to 2 (MGM) is trying to connect
Node 4: Connection to 3 (DB) is connected
Node 4: Connection to 4 (DB) does nothing
Node 4: Connection to 7 (API) is connected
Node 4: Connection to 8 (API) is connected
Node 4: Connection to 9 (API) is trying to connect
Node 4: Connection to 10 (API) is trying to connect
Node 4: Connection to 11 (API) is trying to connect
其他信息。 消息 正在尝试连接
实际上意味着相关节点未启动。当 config.ini
文件中配置的节点中存在未使用的 [api]
或 [mysql]
部分时,也就是说,当 API 或 SQL 节点存在备用插槽时,也会出现这种情况。