Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flyway 4.0 config Postgres requires user/pass #1245

Closed
krispii opened this issue Mar 16, 2016 · 1 comment
Closed

Flyway 4.0 config Postgres requires user/pass #1245

krispii opened this issue Mar 16, 2016 · 1 comment
Milestone

Comments

@krispii
Copy link

@krispii krispii commented Mar 16, 2016

What version of Flyway are you using?

4.0 (command line)

What database are you using (type & version)?

Postgres 9.4.x (x=5 as of this writing)

What operating system are you using?

Ubuntu 15.04

What did you do?

(Please include the content causing the issue, any relevant configuration settings, and the command you ran)

I left the flyway.user and flyway.password out of my config file in order to not have them available for all to see as our flyaway configs and evolutions are in a Git repo

What did you expect to see?

As per the documentation (https://flywaydb.org/documentation/commandline/) I expected to be prompted for credentials.

What did you see instead?

STDOUT: ERROR: Unable to obtain Jdbc connection from DataSource (jdbc:postgresql://localhost/krispii_dev) for user 'null': The server requested password-based authentication, but no password was provided.

@axelfontaine axelfontaine added this to the Flyway 4.0.1 milestone Mar 16, 2016
@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Mar 16, 2016

There was a last minute bug that got introduced in #724 and that has now been fixed. This will be part of 4.0.1. You can of course build from source until then.

axelfontaine added a commit to flyway/flywaydb.org that referenced this issue Mar 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.