summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/resources/config/db.sh
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-02-11 21:29:24 +0000
committerGerrit Code Review <gerrit@onap.org>2021-02-11 21:29:24 +0000
commit3465ee1be5636b48753bc7bf4d0bf8ca1fac5147 (patch)
treea4623b443678190d3ede570bab7259937df4dcc2 /kubernetes/policy/resources/config/db.sh
parentcacfe7b32bcd951a2bb173d8beab8cf22da67ac4 (diff)
parent5c4498813e10d25160a86f97fe7a95ea26f9ef7b (diff)
Merge "[POLICY] Migration of clamp to policy area"
Diffstat (limited to 'kubernetes/policy/resources/config/db.sh')
-rwxr-xr-xkubernetes/policy/resources/config/db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/policy/resources/config/db.sh b/kubernetes/policy/resources/config/db.sh
index 0d7ce07c9b..90c987984f 100755
--- a/kubernetes/policy/resources/config/db.sh
+++ b/kubernetes/policy/resources/config/db.sh
@@ -18,7 +18,7 @@
mysql() { /usr/bin/mysql -h ${MYSQL_HOST} -P ${MYSQL_USER} "$@"; };
-for db in support onap_sdk log migration operationshistory10 pooling policyadmin operationshistory
+for db in support onap_sdk log migration operationshistory10 pooling policyadmin policyclamp operationshistory
do
mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};"
mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;"