2

I created a new config file called "compare.conf" & placed it in 'conf' folder.

When I run the below command, I get the following error:

PS C:\Projects\Learning\Test\flyway-3.2.1> .\flyway -configFile=conf\compare.conf info

Flyway 3.2.1 by Boxfuse

ERROR: Unable to load config file: C:\Projects\Learning\Test\flyway-3.2.1\conf\compare

If I run the same command with absolute URL like below, it works fine. Is this a known issue in Flyway?

PS C:\Projects\Learning\Test\flyway-3.2.1> .\flyway -configFile=C:\Projects\Learning\Test\flyway-3.2.1\conf\compare.conf info

2
  • Did you get any solution? Jul 22, 2019 at 13:12
  • @DarshanaPatel: Sorry for late response, I somehow missed your comment. Had to update Flyway to 4.2.0 version.
    – Sundeep
    Oct 16, 2020 at 14:00

1 Answer 1

-1

Use System property switch -Dflyway.configFile=xxx.properties instead of command line switch -configFile=xxx.properties

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.