X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=esr-core%2Fdistribution%2Fstandalone%2Fsrc%2Fmain%2Fassembly%2Fbin%2FinitDB.bat;h=dde251cbc99a99930c4b864f8cd2e485a0095c0c;hb=03cb28b3dfabbf7c49c645dde29a74fd5e60bbf8;hp=dd86c3e6a337b792ff21976e6027c881ef6864a9;hpb=aba957d99b0d0d21c77d80efe98a3450b6635c1a;p=aai%2Fesr-server.git diff --git a/esr-core/distribution/standalone/src/main/assembly/bin/initDB.bat b/esr-core/distribution/standalone/src/main/assembly/bin/initDB.bat index dd86c3e..dde251c 100644 --- a/esr-core/distribution/standalone/src/main/assembly/bin/initDB.bat +++ b/esr-core/distribution/standalone/src/main/assembly/bin/initDB.bat @@ -1,5 +1,5 @@ @REM -@REM Copyright 2016 ZTE Corporation. +@REM Copyright 2016-2017 ZTE Corporation. @REM @REM Licensed under the Apache License, Version 2.0 (the "License"); @REM you may not use this file except in compliance with the License. @@ -20,15 +20,15 @@ set user=%1 set password=%2 set port=%3 set host=%4 -echo start init extsys db +echo start init esr db echo HOME=%HOME% set main_path=%HOME%..\ cd /d %main_path% -mysql -u%user% -p%password% -P%port% -h%host% < dbscripts\mysql\openo-common-extsys-createobj.sql +mysql -u%user% -p%password% -P%port% -h%host% < dbscripts\mysql\onap-aai-esr-createobj.sql set "err=%errorlevel%" if "%err%"=="0" ( - echo init extsys db success + echo init esr db success ) else ( - echo failed init extsys db + echo failed init esr db pause ) \ No newline at end of file