chore: 修改MySQL日志保留时间

This commit is contained in:
xuwei-fit2cloud
2025-04-30 10:09:06 +08:00
committed by GitHub
parent d73046e901
commit 940a79b983

View File

@@ -15,6 +15,7 @@ innodb_flush_method=O_DIRECT
innodb_lock_wait_timeout=1800
innodb_flush_log_at_trx_commit=0
sync_binlog=0
binlog_expire_logs_seconds=432000
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
@@ -24,4 +25,4 @@ skip-name-resolve
default-character-set=utf8
[mysql.server]
default-character-set=utf8
default-character-set=utf8