From: Aaron Hay Date: Fri, 4 May 2018 17:51:42 +0000 (-0400) Subject: Update mysql configuration file to change sql_mode X-Git-Tag: 2.0.0-ONAP~165^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e863502d368c7559af04f6b87f89d06b2e20b850;p=oom.git Update mysql configuration file to change sql_mode 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 --- diff --git a/kubernetes/common/mysql/templates/configmap.yaml b/kubernetes/common/mysql/templates/configmap.yaml index ff127e48cd..d8c29fb551 100644 --- a/kubernetes/common/mysql/templates/configmap.yaml +++ b/kubernetes/common/mysql/templates/configmap.yaml @@ -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