MySQL Cluster Manager 8.0.31 用户手册 / 第 5 章 MySQL Cluster Manager 客户端命令 / 5.2 MySQL Cluster Manager站点和代理命令 /
4.2.13 显示警告命令
使用show warnings
命令(适用于 MySQL Cluster Manager 1.3.4 及更高版本),您可以检查向代理日志 ( ) 发出的警告(最多最后五个mcmd.log
)。例如:
mcm> set delayed_insert_timeout:mysqld=400 mycluster;
+-----------------------------------+
| Command result |
+-----------------------------------+
| Cluster reconfigured successfully |
+-----------------------------------+
mcm> show warnings;
+---------+------+-----------------------------------------------------------------------+
| Level | Code | Message |
+---------+------+-----------------------------------------------------------------------+
| Warning | -1 | Config variable delayed_insert_timeout was deprecated in mysqld 5.6.7 |
+---------+------+-----------------------------------------------------------------------+