From a016ea661ff5767a3539734c4c07ef974a6e4614 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Thu, 24 Aug 2017 10:09:33 -0400 Subject: Install database schema Fixed bug in database installation script to load database schema Change-Id: Ie5478a40c7792ee8a5d91ea0a8af753717777971 Issue-ID: CCSDK-27 Signed-off-by: Dan Timoney --- odlsli/src/main/scripts/installSdncDb.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'odlsli/src/main/scripts') diff --git a/odlsli/src/main/scripts/installSdncDb.sh b/odlsli/src/main/scripts/installSdncDb.sh index 37329d7b..4966dba4 100644 --- a/odlsli/src/main/scripts/installSdncDb.sh +++ b/odlsli/src/main/scripts/installSdncDb.sh @@ -10,9 +10,9 @@ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,7 +21,7 @@ # ============LICENSE_END========================================================= ### -SDNC_HOME=${SDNC_HOME:-/opt/openecomp/sdnc} +SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc} MYSQL_PASSWD=${MYSQL_PASSWD:-openECOMP1.0} SDNC_DB_USER=${SDNC_DB_USER:-sdnctl} @@ -41,5 +41,5 @@ END if [ -f ${SDNC_HOME}/data/sdnctl.dump ] then - mysql -h dbhost -u root -p${MYSQL_PASSWD} sdnctl < ${SDNC_HOME}/data/sdnctl.dump +mysql -h dbhost -u root -p${MYSQL_PASSWD} sdnctl < ${SDNC_HOME}/data/odlsli.dump fi -- cgit 1.2.3-korg