aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/installer/src/main/scripts/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/installer/src/main/scripts/install.sh')
-rw-r--r--platform-logic/installer/src/main/scripts/install.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/platform-logic/installer/src/main/scripts/install.sh b/platform-logic/installer/src/main/scripts/install.sh
index ddf3933..9711b70 100644
--- a/platform-logic/installer/src/main/scripts/install.sh
+++ b/platform-logic/installer/src/main/scripts/install.sh
@@ -46,3 +46,11 @@ do
done < <(cat $graphlist)
done
+MYSQL_USER=${MYSQL_USER:-sdnctl}
+MYSQL_PWD=${MYSQL_PWD:-gamma}
+MYSQL_DB=${MYSQL_DB:-sdnctl}
+MYSQL_HOST=${MYSQL_HOST:-dbhost}
+
+mysql --user=${MYSQL_USER} --password=${MYSQL_PWD} --host=${MYSQL_HOST} ${MYSQL_DB} <<-END
+SOURCE VNF_DG_MAPPING.sql
+END