diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-09-21 06:14:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-09-21 06:14:02 +0000 |
commit | e898ffbf4afccbcde888cd80709714c10377ddb5 (patch) | |
tree | 0f7138bfc01915ba93fc83252b538044fe25d7a2 /kubernetes/policy/resources/config/db.sh | |
parent | 992d8b15fd4b66995c78758111e39d5da765a21b (diff) | |
parent | d74fe9fbe7aab6f0b9bc37bf71237b297cd63e94 (diff) |
Merge "[POLICY] Update core images/config for m4 istanbul"
Diffstat (limited to 'kubernetes/policy/resources/config/db.sh')
-rwxr-xr-x | kubernetes/policy/resources/config/db.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/policy/resources/config/db.sh b/kubernetes/policy/resources/config/db.sh index 90c987984f..7b9437217d 100755 --- a/kubernetes/policy/resources/config/db.sh +++ b/kubernetes/policy/resources/config/db.sh @@ -18,10 +18,10 @@ mysql() { /usr/bin/mysql -h ${MYSQL_HOST} -P ${MYSQL_USER} "$@"; }; -for db in support onap_sdk log migration operationshistory10 pooling policyadmin policyclamp operationshistory +for db in migration 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}'@'%' ;" + 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}'@'%' ;" done mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" |