X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=esr-core%2Fdistribution%2Fstandalone%2Fsrc%2Fmain%2Fassembly%2Fbin%2FinitDB.sh;h=5008e82e043565ada0cc574c4ccb1956e81afad0;hb=refs%2Fchanges%2F61%2F7161%2F1;hp=eb2dc240589b3fe058ca1a65cf5d2b4365888f91;hpb=aba957d99b0d0d21c77d80efe98a3450b6635c1a;p=aai%2Fesr-server.git diff --git a/esr-core/distribution/standalone/src/main/assembly/bin/initDB.sh b/esr-core/distribution/standalone/src/main/assembly/bin/initDB.sh index eb2dc24..5008e82 100644 --- a/esr-core/distribution/standalone/src/main/assembly/bin/initDB.sh +++ b/esr-core/distribution/standalone/src/main/assembly/bin/initDB.sh @@ -21,14 +21,14 @@ user=$1 password=$2 port=$3 host=$4 -echo "start init extsys db" +echo "start init esr db" main_path=$HOME/../ -mysql -u$user -p$password -P$port -h$host <$main_path/dbscripts/mysql/openo-common-extsys-createobj.sql +mysql -u$user -p$password -P$port -h$host <$main_path/dbscripts/mysql/onap-aai-esr-createobj.sql sql_result=$? if [ $sql_result != 0 ] ; then - echo "failed to init extsys database!" + echo "failed to init esr database!" exit 1 fi -echo "init extsys database success!" +echo "init esr database success!" exit 0