From: tangpeng Date: Fri, 3 Mar 2017 06:24:08 +0000 (+0800) Subject: Add printing run db log X-Git-Tag: release/mercury~26 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=9e49960fc851a0cdf51a3607b21984628d1e9d44;p=holmes%2Frule-management.git Add printing run db log Change-Id: I785ea768d25654ae5a3ebb57db263b2a8246bfda Issue-ID:HOLMES-47 Signed-off-by: tangpeng --- diff --git a/rulemgt-standalone/src/main/assembly/bin/initDB.sh b/rulemgt-standalone/src/main/assembly/bin/initDB.sh index f49123d..a58450b 100644 --- a/rulemgt-standalone/src/main/assembly/bin/initDB.sh +++ b/rulemgt-standalone/src/main/assembly/bin/initDB.sh @@ -23,6 +23,7 @@ port=$3 host=$4 echo "start init holmes rulemgt db" main_path=$HOME/../ +cat $main_path/dbscripts/mysql/openo-holmes_rulemgt-createobj.sql mysql -u$user -p$password -P$port -h$host <$main_path/dbscripts/mysql/openo-holmes_rulemgt-createobj.sql sql_result=$? if [ $sql_result != 0 ] ; then