From 4be4926e320354571b19340db2ddfef5a5fe20c2 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Sun, 13 May 2018 22:54:59 -0500 Subject: 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 --- config/db/db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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}'@'%' ;" -- cgit