Query Middleware Node Information
The read-write separation middleware node has 2 or more than 2, you can query the specific information of each node via the following command:
ushow mw_nodes;
Where:
MwId is the id of the read-write separation middleware, this MwId is also the id displayed by ushow sql_limit_stat and ushow sql_limit_stmts_stat;
MwIp and Port: The IP and port of the middleware node. You can access it using the MySQL client, and the username and password are consistent with those for directly accessing the read-write separation entry IP.