aboutsummaryrefslogtreecommitdiffstats
path: root/config/db/db.sh
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-05-13 22:54:59 -0500
committerJorge Hernandez <jh1730@att.com>2018-05-13 22:54:59 -0500
commit4be4926e320354571b19340db2ddfef5a5fe20c2 (patch)
tree5866135736687b79190f84e90574a2624591487f /config/db/db.sh
parent1f5df43ca68425b0d33aac1ecc6c74d7cc5c6bbb (diff)
allow db non-root access to
The databases to which the non-root policy user are granted access are: operationshistory10 (guard) and pooling (pooling feature). Change-Id: Id8653e872a7750fe9e037ad2872b5541241ef4e7 Issue-ID: POLICY-788 Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'config/db/db.sh')
-rw-r--r--config/db/db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/db/db.sh b/config/db/db.sh
index bafce053..3065b8db 100644
--- a/config/db/db.sh
+++ b/config/db/db.sh
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-for db in support onap_sdk log migration
+for db in support onap_sdk log migration operationshistory10 pooling
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}'@'%' ;"