1. 程式人生 > >MySQL二進位制日誌檔案過期天數設定說明

MySQL二進位制日誌檔案過期天數設定說明

mysql> set global expire_logs_days=100; Query OK, 0 rows affected, 1 warning (0.00 sec) mysql> show warnings; +---------+------+---------------------------------------------------+ | Level   | Code | Message                                           | +---------+------+---------------------------------------------------+ | Warning | 1292 | Truncated incorrect expire_logs_days value: '100' | +---------+------+---------------------------------------------------+ 1 row in set (0.00 sec)