Teradata troubleshooting
Last updated: June 9, 2026
Use this page to troubleshoot common errors when connecting to or working with Teradata using Liquibase.
Authentication errors
EM_SSOLOGONFAIL(244)
This error indicates that the LDAP logon failed. Common causes and resolutions:
Incorrect LOGDATA format. LOGDATA parameters must be space-separated, not comma-separated. Correct:
authcid=user password=pass. Incorrect:authcid=user,password=pass.LDAP server unreachable. Verify that the Teradata Gateway can reach the LDAP server. This is a server-side configuration issue; contact your DBA.
User not mapped. The LDAP user must be mapped to a Teradata database user. Verify the mapping exists on the Teradata server.
Be sure to:
Replace
your_usernamewith your LDAP username
SELECT * FROM DBC.LogonRulesV WHERE UserName = 'your_username';Wrong credentials. Verify the LDAP username and password are correct by testing with BTEQ directly.
Be sure to:
Replace
your_hostname,your_username, andyour_passwordwith your actual values
bteq <<EOF .LOGMECH LDAP .LOGON your_hostname/your_username,your_password .LOGOFF .QUIT 0 EOFLDAP mechanism not installed. Ensure the LDAP mechanism module is installed and configured on the Teradata Gateway. Contact your DBA to verify the
tdgssconfiguration includes LDAP support.
BADLOGON(303)
This error indicates an invalid .LOGON command format. Verify that:
The hostname is correct and reachable
The username does not contain special characters that need escaping
The JDBC URL is properly formatted with commas separating parameters
Error 8017: UserId, Password or Account is invalid
This error indicates that the username or password is incorrect, or the account does not exist on the Teradata server.
Verify the username and password are correct by logging in with BTEQ directly.
Be sure to:
Replace
your_hostnamewith your Teradata server hostnameReplace
your_usernameandyour_passwordwith your credentials
echo ".LOGON your_hostname/your_username,your_password" | bteqConfirm the user account exists and is not locked on the Teradata server.
Check that the hostname in the JDBC URL resolves to the correct Teradata server.
If a non-default port is in use, include it in the URL.
Be sure to:
Replace
your_hostnameandyour_databasewith your actual values
liquibase.command.url=jdbc:teradata://your_hostname:1025/DATABASE=your_databaseEnsure there are no extra spaces or special characters in the password.
BTEQ authentication failure
Error:
*** Logon Failed ***
*** Error: Invalid username or password
Cause: The credentials in your Liquibase connection configuration are incorrect or cannot be used to authenticate through BTEQ.
Solution:
1. Verify your credentials work with BTEQ directly.
Be sure to:
Replace
your_hostnamewith your actual Teradata server hostnameReplace
your_usernameandyour_passwordwith your credentials
bteq
.LOGON your_hostname/your_username,your_password
2. Check your liquibase.properties.
Be sure to:
Replace
your_hostname,your_database, andyour_usernamewith your actual values
url=jdbc:teradata://your_hostname/DATABASE=your_database
username=your_username
password=your_password
3. For LDAP authentication, include LOGMECH=LDAP in the JDBC URL:
url=jdbc:teradata://your_hostname/DATABASE=your_database,LOGMECH=LDAP
BTEQ executor errors
BTEQ execution timed out
Error:
ERROR: BTEQ execution timed out after 300 seconds
Cause: The operation took longer than the configured timeout.
Solution:
Increase the timeout for long-running operations:
liquibase.bteq.timeout=600
Or disable the timeout entirely:
liquibase.bteq.timeout=-1
Permission errors
Error:
*** Error: User does not have CREATE TABLE privilege
Cause: The database user lacks the required permissions for the operations in your changesets.
Solution: Grant the necessary privileges to your database user:
CREATE TABLE/DROP TABLEfor DDL operationsINSERT/UPDATE/DELETEfor DML operationsEXECUTEfor macros and proceduresSELECTfor queries