title: "UserId, Password or Account is invalid" for sqlalchemy Teradata
body: <p>I am trying to connect to Teradata with sqlalchemy in Python (Anaconda) like this:</p>
  <pre><code>from sqlalchemy import create_engine
  
  conn_string = 'teradata://' + user + ':' + passw + '@' + host + '/?logmech=LDAP'
  
  eng = create_engine(conn_string)
  # execute sql
  sql = 'select top 10 * from some_table'
  result = eng.execute(sql)
  </code></pre>
  <p>I am getting this error, even though I have checked many times to confirm they are correct:</p>
  <pre><code>DatabaseError: (teradata.api.DatabaseError) (210, '[28000] [Teradata][ODBC Teradata Driver]
  [Teradata Database] (210) The UserId, Password or Account is invalid. FailCode = -8017')
  </code></pre>
  <p>I can confirm that other Python scripts connect to the same DB using pyodbc and also when I connect using DBeaver. So the user/password are good. I am using sqlalchemy because I want to insert a dataframe into a table using df.to_sql, which seems not available if I use the pyodbc connector.</p>
  <p>Is it possible this error means something other than what it says? Maybe I need some other connection parameter?</p>