Redgate Summit – The Database DevOps Transformation Watch now
PASS Data Community Summit logo

PASS Data Community Summit

A hybrid conference in Seattle and online

15-18 November

Flyway Documentation

Poll

User

Description

The user to use to connect to the database.

This can be omitted if the user is baked into the url (See Sql Server for an example).

Usage

Commandline

./flyway -user=myuser info

Configuration File

flyway.user=myuser

Environment Variable

FLYWAY_USER=myuser

API

Flyway.configure()
    .user("myuser")
    .load()

Gradle

flyway {
    user = 'myuser'
}

Maven

<configuration>
    <user>myuser</user>
</configuration>