Connect to Teradata with Liquibase using LDAP authentication
Last updated: June 9, 2026
Configure Liquibase to authenticate with Teradata using LDAP instead of the default TD2 mechanism. Before you begin, ensure your Teradata server is configured for LDAP authentication and that you have your LDAP credentials ready.
Before you begin
Liquibase Secure 5.1.1+
Teradata JDBC driver — The Teradata JDBC driver is not included and must be downloaded from Teradata. Place the driver in the
liquibase/libdirectory.
Procedure
Configure your liquibase.properties
Add the following to your liquibase.properties file. Be sure to:
Replace
your_changelog.xmlwith the path to your changelog fileReplace
your_hostnamewith your Teradata server hostnameReplace
your_databasewith your database nameReplace
your_usernamewith your LDAP usernameReplace
your_passwordwith your LDAP password
Configure explicit LOGDATA (optional)
Some LDAP configurations require explicit LOGDATA containing the authcid and password fields. LOGDATA parameters must be space-separated, not comma-separated. Be sure to:
Replace
your_hostname,your_database,your_username, andyour_passwordwith your actual values
Create a changelog file
Create a basic changelog file to verify the connection. Be sure to:
Replace
your_authorwith your name or identifierSave the file using the same name you set for
your_changelog.xmlin Step 1
Verify the connection
Run the following command to confirm Liquibase can connect to Teradata using LDAP:
liquibase update