aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mysql/templates
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2018-05-08 11:09:18 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-08 11:09:18 +0000
commitadec0ca4af857e52d689faae9520547d9ad26d73 (patch)
tree2e10714c383a7dfe657aa52a1d0d73e4e23532fd /kubernetes/common/mysql/templates
parentecae704305d9e4affaf58b4cfa1966f713cb1dc1 (diff)
parente863502d368c7559af04f6b87f89d06b2e20b850 (diff)
Merge "Update mysql configuration file to change sql_mode"
Diffstat (limited to 'kubernetes/common/mysql/templates')
-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