The fully qualified classname of the jdbc driver to use to connect to the database.
This must match the driver for the database type in the url you are using.
If you use a driver class that is not shipped with Flyway, you must ensure that it is available on the classpath (see Adding to the classpath).
Auto-detected based on the url
./flyway -driver=com.microsoft.sqlserver.jdbc.SQLServerDriver info
flyway.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
FLYWAY_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
Flyway.configure()
.driver("com.microsoft.sqlserver.jdbc.SQLServerDriver")
.load()
flyway {
driver = 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
}
<configuration>
<driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver>
</configuration>