Warm tip: This article is reproduced from stackoverflow.com, please click
jdbc flyway jtds

Flyway with SQL server integrated security

发布于 2020-03-29 21:03:19

I'm attempting to use jdbc plus jtds to connect to SQL server and run flyway migrations. Its a requirement that the connection use integrated security. Is this supported in flyway? If I specify integratedsecurity=true and don't specify a username and password I am prompted to enter one when I run the command line flyway migrate suggesting that its ignoring my setting to use integrated security.

Can anyone help?

Thanks for your time.

Questioner
Christopher Green
Viewed
57
Mikiel 2020-02-05 21:32

Flyway doesn't support it out of the box. It's a known limitation.

There is a manual workaround explained on the website.