driver
The driver
global parameter is a string that sets the driver for the target database you're using with Liquibase.
Uses
Each database has its own driver, such as oracle.jdbc.OracleDriver
for an Oracle database. Liquibase automatically specifies the driver for most supported databases. However, you can also specify a custom database driver in the driver
parameter.
For more information on the parameters you need to specify to run Liquibase commands, see Create and Configure a liquibase.properties File.
Syntax
You can set this parameter in the following ways:
Option | Syntax |
---|---|
Liquibase properties file |
|
Global flow file argument (example) |
|
Global CLI parameter |
|
JVM system property (JAVA_OPTS Environment Variable) |
|
Liquibase Environment Variables |
|
For more information, see Working with Command Parameters.