- # 2024-06-16
- # 1.1) "[MySQL] «[Warning] [MY-011068] [Server]
- # The syntax 'expire-logs-days' is deprecated and will be removed in a future release.
- # Please use binlog_expire_logs_seconds instead.»": https://github.com/thehcginstitute-com/167.71.186.128/issues/29
- # 1.2) "How did I fix «The syntax 'expire-logs-days' is deprecated and will be removed in a future release.
- # Please use binlog_expire_logs_seconds instead.» for MySQL?": https://df.tips/t/2229
- # 1.3) «The default binary log expiration period is 2592000 seconds, which equals 30 days (30*24*60*60 seconds).»:
- # https://dev.mysql.com/doc/refman/8.4/en/replication-options-binary-log.html#sysvar_binlog_expire_logs_seconds
- # 1.4) I set it to 10 days (10*24*60*60 seconds) as I had `expire_logs_days = 10` before.
- # 1.5) `binlog_expire_logs_seconds` does not exist in MySQL < 8:
- # https://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html
- binlog_expire_logs_seconds = 864000