我需要运行flyway:使用通过环境变量或命令行标志指定的用户,密码和url迁移吗?
导出相应的变量后,我尝试了以下方法:
mvn -Dflyway.user=$FLYWAY_USER -Dflyway.url=$FLYWAY_URL -Dflyway.password=$FLYWAY_PASSWORD flyway:migrate
mvn flyway:migrate
他们都没有工作。得到错误消息:
ice: org.flywaydb.core.api.FlywayException: Unable to connect to the database. Configure the url, user and password! -> [He
lp 1]```