odbc tedadata连接:尝试连接到Teradata服务器时未收到响应(434)

时间:2019-05-15 15:20:01

标签: odbc teradata

所有连接信息都应该正确,有时会运行,但是大多数情况下会出现此错误。我没有办法更改数据库。我尝试将odbc.ini->登录时间更改为更大。但是仍然没有工作。

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 765, in run
    self.__target(*self.__args, **self.__kwargs)
  File "Report.py", line 126, in executeQuery
    connection = pyodbc.connect('DSN=DSN;UID=' + config.get('DSN', 'usr') + ';PWD=' + config.get('DSN', 'pwd'))
Error: ('HY000', '[HY000] [unixODBC][Teradata][WSock32 DLL] (434) WSA E TimedOut: No response received when attempting to connect to the Teradata server (434) (SQLDriverConnect)')

0 个答案:

没有答案