Skip to content

DbMigrate Jdbc Config

Roman Stumm edited this page Jun 3, 2015 · 1 revision

Configure database connection

Examples

postgres.properties

jdbcUrl=jdbc:postgresql://localhost:5432/test
jdbcDriver=org.postgresql.Driver

oracle.properties

jdbcUrl=jdbc:oracle:thin:@localhost:1521:XE
jdbcDriver=oracle.jdbc.driver.OracleDriver
user=system
password=manager

The settings in this file are overwritten by the environment variables DB_USER (overwrite user), DB_PASSWORD (overwrite password)

Driver class must exist in the classpath.