Introducing Agent Safe Governance for the AI Era

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 driverThe Teradata JDBC driver is not included and must be downloaded from Teradata. Place the driver in the liquibase/lib directory.

Procedure

1

Configure your liquibase.properties

Add the following to your liquibase.properties file. Be sure to:

  • Replace your_changelog.xml with the path to your changelog file

  • Replace your_hostname with your Teradata server hostname

  • Replace your_database with your database name

  • Replace your_username with your LDAP username

  • Replace your_password with your LDAP password

loading
2

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, and your_password with your actual values

loading
3

Create a changelog file

Create a basic changelog file to verify the connection. Be sure to:

  • Replace your_author with your name or identifier

  • Save the file using the same name you set for your_changelog.xml in Step 1

loading

loading

loading

loading
4

Verify the connection

Run the following command to confirm Liquibase can connect to Teradata using LDAP:

liquibase update

A successful response looks like:

Liquibase command 'update' was executed successfully.

Secure 5.2: Connect to Teradata with Liquibase Using LDAP Authentication