From f7ef763cd84db257a91cdd17b6cd636bc2481032 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Tue, 2 Apr 2024 15:29:03 +0800 Subject: [PATCH] prod remove basedir --- prod-upgrade/mysql/mysql-0.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/prod-upgrade/mysql/mysql-0.yaml b/prod-upgrade/mysql/mysql-0.yaml index ca8fbb2..716e01b 100644 --- a/prod-upgrade/mysql/mysql-0.yaml +++ b/prod-upgrade/mysql/mysql-0.yaml @@ -8,7 +8,6 @@ data: bind-address=0.0.0.0 port=3306 skip-name-resolve - basedir=/var/lib/mysql datadir=/var/lib/mysql/data log-bin=/var/lib/mysql/logs plugin_dir=/var/lib/mysql/plugin @@ -20,10 +19,10 @@ data: collation-server=utf8mb4_unicode_ci # Extended - sql_mode=STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION + max_connections=5000 binlog_format=row binlog_expire_logs_seconds=2592000 - max_connections=5000 + sql_mode=STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION innodb_buffer_pool_size=4G innodb_log_file_size=1G innodb_flush_log_at_trx_commit=2