sqlite DB locked when you specify flywayDriver #1318
What version of Flyway are you using?
What database are you using (type & version)?
sqlite / xerial / 188.8.131.52
What operating system are you using?
What did you do?
With a random migration, e.g.
What did you expect to see?
What did you see instead?
That only happens when I specify
without it, it works just fine.
The text was updated successfully, but these errors were encountered:
Same was happening for me, saved by @axelfontaine 's comment about not setting the JDBC driver. That indeed fixed the issue for me.
Here's a simple example:
Checking out that directory, and running flyway migrate will create a database.sqlite in the current directory. If you edit flyway.conf, uncommenting the driver, you'll get the error.
Thanks @axelfontaine !
Checked out the latest code, used instructions in this SO question to build the project, then in Eclipse copied the original installation drivers and jars directories over to flyway-commandline maven module.
Was ready to debug the issue, but actually, when I run the migrate command with the same scenario, it works.
So I believe it has been fixed in the -trunk- master already :-)
My checkout revision: 8b9dbfa
Hope that helps.