X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=esr-core%2Fdistribution%2Fstandalone%2Fsrc%2Fmain%2Fassembly%2Fbin%2FinitDB.bat;fp=esr-core%2Fdistribution%2Fstandalone%2Fsrc%2Fmain%2Fassembly%2Fbin%2FinitDB.bat;h=0000000000000000000000000000000000000000;hb=fa6dd60a45a093205ae55065f6de044c91493e60;hp=dde251cbc99a99930c4b864f8cd2e485a0095c0c;hpb=03cb28b3dfabbf7c49c645dde29a74fd5e60bbf8;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 deleted file mode 100644 index dde251c..0000000 --- a/esr-core/distribution/standalone/src/main/assembly/bin/initDB.bat +++ /dev/null @@ -1,34 +0,0 @@ -@REM -@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. -@REM You may obtain a copy of the License at -@REM -@REM http://www.apache.org/licenses/LICENSE-2.0 -@REM -@REM Unless required by applicable law or agreed to in writing, software -@REM distributed under the License is distributed on an "AS IS" BASIS, -@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@REM See the License for the specific language governing permissions and -@REM limitations under the License. -@REM - -@echo off -set HOME=%~dp0 -set user=%1 -set password=%2 -set port=%3 -set host=%4 -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\onap-aai-esr-createobj.sql -set "err=%errorlevel%" -if "%err%"=="0" ( - echo init esr db success - ) else ( - echo failed init esr db - pause - ) \ No newline at end of file