allow db non-root access to 35/47335/1
authorJorge Hernandez <jh1730@att.com>
Mon, 14 May 2018 03:54:59 +0000 (22:54 -0500)
committerJorge Hernandez <jh1730@att.com>
Mon, 14 May 2018 03:54:59 +0000 (22:54 -0500)
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>
config/db/db.sh

index bafce05..3065b8d 100644 (file)
@@ -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}'@'%' ;"