mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 12:22:10 +08:00
chore: 修改MySQL日志保留时间
This commit is contained in:
@@ -15,6 +15,7 @@ innodb_flush_method=O_DIRECT
|
|||||||
innodb_lock_wait_timeout=1800
|
innodb_lock_wait_timeout=1800
|
||||||
innodb_flush_log_at_trx_commit=0
|
innodb_flush_log_at_trx_commit=0
|
||||||
sync_binlog=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
|
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
|
default-character-set=utf8
|
||||||
|
|
||||||
[mysql.server]
|
[mysql.server]
|
||||||
default-character-set=utf8
|
default-character-set=utf8
|
||||||
|
|||||||
Reference in New Issue
Block a user