MySQL Cluster Manager 8.0.31 用户手册 / 第 5 章 MySQL Cluster Manager 客户端命令 / 5.2 MySQL Cluster Manager站点和代理命令 /
5.2.13 显示警告命令
使用该show warnings
命令,您可以检查向代理日志 ( ) 发出的警告(最多最后五个mcmd.log
)。例如:
mcm> set delayed_insert_timeout:mysqld=400 mycluster;
+-----------------------------------+
| Command result |
+-----------------------------------+
| Cluster reconfigured successfully |
+-----------------------------------+
mcm> show warnings;
+---------+------+-------------------------------------------------------------------------------------------------------+
| Level | Code | Message |
+---------+------+-------------------------------------------------------------------------------------------------------+
| Warning | 0 | 2021-07-12 21:27:38 Config variable delayed_insert_timeout was deprecated in mysqld 5.6.7 |
| Warning | 1287 | 2021-07-12 21:27:38 '@@delayed_insert_timeout' is deprecated and will be removed in a future release. |
| Warning | 1287 | 2021-07-12 21:27:38 '@@delayed_insert_timeout' is deprecated and will be removed in a future release. |
+---------+------+-------------------------------------------------------------------------------------------------------+
3 rows in set (0.10 sec)