summaryrefslogtreecommitdiffstats
path: root/rulemgt-standalone/src/main/assembly/bin
diff options
context:
space:
mode:
authortangpeng <tang.peng5@zte.com.cn>2017-03-03 14:24:08 +0800
committertangpeng <tang.peng5@zte.com.cn>2017-03-03 14:24:08 +0800
commit9e49960fc851a0cdf51a3607b21984628d1e9d44 (patch)
treecfd72bfb5048ba10e914ceb29088934d747cca0f /rulemgt-standalone/src/main/assembly/bin
parent87977cab6fd3f99eb014a9889015793b3fc43290 (diff)
Add printing run db log
Change-Id: I785ea768d25654ae5a3ebb57db263b2a8246bfda Issue-ID:HOLMES-47 Signed-off-by: tangpeng <tang.peng5@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone/src/main/assembly/bin')
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/initDB.sh1
1 files changed, 1 insertions, 0 deletions
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