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

Can't use Use MSDB in SQL server #1694

Yogi2803 opened this issue Jul 6, 2017 · 0 comments

Can't use Use MSDB in SQL server #1694

Yogi2803 opened this issue Jul 6, 2017 · 0 comments


Copy link

@Yogi2803 Yogi2803 commented Jul 6, 2017

What version of Flyway are you using?


Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)


What database are you using (type & version)?

MS SQL server 2012

What operating system are you using?

Windows server

What did you do?

(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
I have multiple version scripts to execute and one of them contains USE MSDB for DB jobs. After execution of that script, remaining version scripts fails to execute as flyway try to run those script as well on MSDB

What did you expect to see?

Flyway should execute this script on MSDB and execute remaining scripts on the DB set in config

What did you see instead?

Flyway executes first script where USE MSDB is used and all subsequent scripts fails

@axelfontaine axelfontaine added this to the Flyway 5.0.0 milestone Nov 26, 2017
axelfontaine added a commit to flyway/ that referenced this issue Nov 26, 2017
dohrayme pushed a commit to dohrayme/flyway that referenced this issue Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants