From 9e49960fc851a0cdf51a3607b21984628d1e9d44 Mon Sep 17 00:00:00 2001 From: tangpeng Date: Fri, 3 Mar 2017 14:24:08 +0800 Subject: [PATCH] Add printing run db log Change-Id: I785ea768d25654ae5a3ebb57db263b2a8246bfda Issue-ID:HOLMES-47 Signed-off-by: tangpeng --- rulemgt-standalone/src/main/assembly/bin/initDB.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.16.6