Update mysql configuration file to change sql_mode 71/46271/1
authorAaron Hay <ah415j@att.com>
Fri, 4 May 2018 17:51:42 +0000 (13:51 -0400)
committerAaron Hay <ah415j@att.com>
Fri, 4 May 2018 17:51:49 +0000 (13:51 -0400)
Aggregated query without group by results errors when performing LCM actions unless the sql_mode value is changed.

Change-Id: I91c6ef71f22d32cf401a5113ae4e28e1ab554bb6
Issue-ID: APPC-878
Signed-off-by: Aaron Hay <ah415j@att.com>
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