diff options
author | Dan Timoney <dtimoney@att.com> | 2017-08-24 10:09:33 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-08-24 10:09:33 -0400 |
commit | a016ea661ff5767a3539734c4c07ef974a6e4614 (patch) | |
tree | 221dd8acd5ce20e731821c38994e8feeb6c41bdf /odlsli/src/main/scripts/installSdncDb.sh | |
parent | 5eea36fce01d7055805e7f3bb757379969827c5e (diff) |
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 <dtimoney@att.com>
Diffstat (limited to 'odlsli/src/main/scripts/installSdncDb.sh')
-rw-r--r-- | odlsli/src/main/scripts/installSdncDb.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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 |