5.2.13show warnings命令

使用该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)