summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/common-SQL/files/etc/mysql/my.cnf4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/common-SQL/files/etc/mysql/my.cnf b/roles/common-SQL/files/etc/mysql/my.cnf
index 909236d..c5c9454 100644
--- a/roles/common-SQL/files/etc/mysql/my.cnf
+++ b/roles/common-SQL/files/etc/mysql/my.cnf
@@ -97,7 +97,9 @@ max_binlog_size = 100M
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
-#
+
+innodb_flush_method = O_DIRECT
+
# * Security Features
#
# Read the manual, too, if you want chroot!