From a9bc47af99ae821ae7022ccccaf26319be31d166 Mon Sep 17 00:00:00 2001 From: "Moritz Schubotz (physikerwelt)" Date: Sun, 5 Nov 2023 08:43:08 +0100 Subject: [PATCH] MySQL set sync_binlog=1 * Avoid binary files beeing corrupted from docker reboots #413 --- my.cnf | 1 + 1 file changed, 1 insertion(+) diff --git a/my.cnf b/my.cnf index dd9e9d4..47bd5b3 100644 --- a/my.cnf +++ b/my.cnf @@ -7,5 +7,6 @@ key_buffer_size=24M innodb_buffer_pool_size=4G innodb_log_file_size=32M log-bin +sync_binlog=1 server_id=1001 log-basename=mardb