Update mysql configuration file to change sql_mode
[oom.git] / kubernetes / common / mysql / templates / configmap.yaml
index ff127e4..d8c29fb 100644 (file)
@@ -23,12 +23,14 @@ data:
   master.cnf: |
     # Apply this config only on the master.
     [mysqld]
+    sql_mode = "NO_ENGINE_SUBSTITUTION"
     log-bin
     [localpathprefix]
     master
   slave.cnf: |
     # Apply this config only on slaves.
     [mysqld]
+    sql_mode = "NO_ENGINE_SUBSTITUTION"
     super-read-only
     [localpathprefix]
     slave