summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortangpeng <tang.peng5@zte.com.cn>2017-03-03 14:26:52 +0800
committertangpeng <tang.peng5@zte.com.cn>2017-03-03 14:26:52 +0800
commit9674dc97afab9a3ea5bd15cb2ef788a1738397f4 (patch)
treea550e2f6480ae15c89c081755b979c279e0ccb51
parentfc1ad057cecc6bacf0f5931f6ec0e43b77c90851 (diff)
Add printing run db log
Change-Id: I6dc553d6a53b27aed86dcd3cc3842b613c0a0ad5 Issue-ID:HOLMES-47 Signed-off-by: tangpeng <tang.peng5@zte.com.cn>
-rw-r--r--engine-d-standalone/src/main/assembly/bin/initDB.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/initDB.sh b/engine-d-standalone/src/main/assembly/bin/initDB.sh
index 7f16c2a..a02391b 100644
--- a/engine-d-standalone/src/main/assembly/bin/initDB.sh
+++ b/engine-d-standalone/src/main/assembly/bin/initDB.sh
@@ -23,6 +23,7 @@ port=$3
host=$4
echo "start init holmes engine-d db"
main_path=$HOME/../
+cat $main_path
mysql -u$user -p$password -P$port -h$host <$main_path/dbscripts/mysql/openo-holmes_engine_d-createobj.sql
sql_result=$?
if [ $sql_result != 0 ] ; then