aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mysql
diff options
context:
space:
mode:
authorAaron Hay <ah415j@att.com>2018-05-04 13:51:42 -0400
committerAaron Hay <ah415j@att.com>2018-05-04 13:51:49 -0400
commite863502d368c7559af04f6b87f89d06b2e20b850 (patch)
tree527976381efffd69ac5b61b00d048ada4c23650b /kubernetes/common/mysql
parent8b76ba0aff9839657231328e0b541686d3ccee71 (diff)
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 <ah415j@att.com>
Diffstat (limited to 'kubernetes/common/mysql')
-rw-r--r--kubernetes/common/mysql/templates/configmap.yaml2
1 files changed, 2 insertions, 0 deletions
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