diff --git a/alpine-server/src/main/java/alpine/server/upgrade/UpgradeMetaProcessor.java b/alpine-server/src/main/java/alpine/server/upgrade/UpgradeMetaProcessor.java index 09b05312..5d2aa033 100644 --- a/alpine-server/src/main/java/alpine/server/upgrade/UpgradeMetaProcessor.java +++ b/alpine-server/src/main/java/alpine/server/upgrade/UpgradeMetaProcessor.java @@ -181,7 +181,7 @@ private Connection createConnection() throws UpgradeException { final String driver = Config.getInstance().getProperty(Config.AlpineKey.DATABASE_DRIVER); final String dbUrl = Config.getInstance().getProperty(Config.AlpineKey.DATABASE_URL); final String user = Config.getInstance().getProperty(Config.AlpineKey.DATABASE_USERNAME); - final String password = Config.getInstance().getProperty(Config.AlpineKey.DATABASE_PASSWORD); + final String password = Config.getInstance().getPropertyOrFile(Config.AlpineKey.DATABASE_PASSWORD); try { Class.forName(driver); return DriverManager.getConnection(dbUrl, user, password);