aboutsummaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/bin
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2017-09-28 09:15:27 +0800
committerLuji7 <lu.ji3@zte.com.cn>2017-09-28 09:15:32 +0800
commit6fbe31e8e5e49952bcd8292117012d8129959de1 (patch)
tree46ab29720dde4543d8663a21763f5325c74e178b /standalone/src/main/assembly/bin
parentf3024257078722df22a1e4e67181ea9fcf0504b3 (diff)
fix db script fail.
Change-Id: I33efeb7414c1ced244dc7d02ba7a02937ff8e6bd Issue-Id: USECASEUI-36 Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'standalone/src/main/assembly/bin')
-rw-r--r--standalone/src/main/assembly/bin/run.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/standalone/src/main/assembly/bin/run.sh b/standalone/src/main/assembly/bin/run.sh
index cccbb8e1..9ef6e07a 100644
--- a/standalone/src/main/assembly/bin/run.sh
+++ b/standalone/src/main/assembly/bin/run.sh
@@ -23,6 +23,10 @@ echo "Starting mysql"
service mysql start
sleep 1
+SCRIPT="/home/uui/resources/bin/initDB.sh"
+chmod 755 "$SCRIPT"
+"$SCRIPT" root root 3306 127.0.0.1
+
echo @JAVA_HOME@ $JAVA_HOME
JAVA="$JAVA_HOME/bin/java"
echo @JAVA@ $JAVA