Skip to content

The default driver selected when TPT is installed is not correct. #106

Open

Description

@escheie

The logic for choosing the default driver to use when one is not specified does not work when TPT is installed. This is because it registers additional drivers with the Driver Manager that contain "Teradata" but that are not a valid Teradata ODBC driver. E.g.

teradata.api.DatabaseError:
(1207, '[HY000] [TPT][ODBC PostgreSQL Wire Protocol driver] Connection refused. Verify Host Name and Port Number.,
[TPT][ODBC PostgreSQL Wire Protocol driver] Invalid attribute in connection string: DBCNAME.,
[TPT][ODBC PostgreSQL Wire Protocol driver] Invalid attribute in connection string: SESSIONMODE.')

Activity

  1. self-assigned this
    on May 11, 2018
  2. pwsnla commented on May 31, 2018

    @pwsnla

    I seem to have this issue but in my case this is surfacing when trying to connect via Sqlalechemy. I have Sqlalchemy-Teradata installed but I am not sure how to specify the driver to use in the Sqlalchemy URI. Any suggestions?

  3. escheie commented on May 31, 2018

    @escheie
    ContributorAuthor

    @sandan Do you know if there is a way to specify the driver option to PyTd when using sqlalchemy-teradata?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions