From 99b982918fe3c9a33b0f221bdfafd7b710b9edb6 Mon Sep 17 00:00:00 2001 From: "Kishore Reddy, Gujja (kg811t)" Date: Tue, 27 Mar 2018 17:09:48 -0400 Subject: fixing invalid database name The db name changed from portal to portal_os but all the other SQL files use portal and nothing is using portal_os. all containers are blocked by this failure: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/PortalDDLMySql_2_1_Common.sql ERROR 1049 (42000) at line 16: Unknown database 'portal' Issue-ID: OOM-746 Change-Id: I6287c71ebe318e8224255e5406563d4f13806046 Signed-off-by: Kishore Reddy, Gujja (kg811t) --- deliveries/Dockerfile.mariadb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'deliveries/Dockerfile.mariadb') diff --git a/deliveries/Dockerfile.mariadb b/deliveries/Dockerfile.mariadb index 347cc1e0..6d2d6f2e 100644 --- a/deliveries/Dockerfile.mariadb +++ b/deliveries/Dockerfile.mariadb @@ -16,7 +16,7 @@ COPY ${DB_SCRIPT_DIR}/PortalDMLMySql_2_1_OS.sql /docker-entrypoint-initdb.d/ # Do not copy the onboarding script here; it's mounted as a volume # SDK App DDL and DML -COPY ${DB_SCRIPT_DIR}/EcompSdkDDLMySql_1710_Common.sql /docker-entrypoint-initdb.d/ -COPY ${DB_SCRIPT_DIR}/EcompSdkDDLMySql_1710_OS.sql /docker-entrypoint-initdb.d/ -COPY ${DB_SCRIPT_DIR}/EcompSdkDMLMySql_1710_Common.sql /docker-entrypoint-initdb.d/ -COPY ${DB_SCRIPT_DIR}/EcompSdkDMLMySql_1710_OS.sql /docker-entrypoint-initdb.d/ +COPY ${DB_SCRIPT_DIR}/EcompSdkDDLMySql_2_2_Common.sql /docker-entrypoint-initdb.d/ +COPY ${DB_SCRIPT_DIR}/EcompSdkDDLMySql_2_2_OS.sql /docker-entrypoint-initdb.d/ +COPY ${DB_SCRIPT_DIR}/EcompSdkDMLMySql_2_2_Common.sql /docker-entrypoint-initdb.d/ +COPY ${DB_SCRIPT_DIR}/EcompSdkDMLMySql_2_2_OS.sql /docker-entrypoint-initdb.d/ -- cgit 1.2.3-korg