allow non-root user to access migration database 41/46941/1
authorJorge Hernandez <jh1730@att.com>
Thu, 10 May 2018 02:58:52 +0000 (21:58 -0500)
committerJorge Hernandez <jh1730@att.com>
Thu, 10 May 2018 02:58:52 +0000 (21:58 -0500)
Change-Id: I890daecb9b24bbc21c989f4e3c5fe9c4d1aa2005
Issue-ID: POLICY-788
Signed-off-by: Jorge Hernandez <jh1730@att.com>
config/db/db.sh

index 4b18373..bafce05 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
+for db in support onap_sdk log migration
 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}'@'%' ;"