【问题标题】:DB2 - ODBC Connection protocol specific error code 10061DB2 - ODBC 连接协议特定错误代码 10061
【发布时间】:2016-04-06 07:09:09
【问题描述】:

我通过以下 URL 在 Windows 7(64 位)上安装了 DB2 FP 10.1 32 位 ODBC 驱动程序

https://www-304.ibm.com/support/docview.wss?uid=swg21418043

我创建了一个“系统 DSN”并配置了以下参数

Hostname   xxxxxx2x  (DB2 server running on UNIX)
Port       5xxxx     (Port is on state 'LISTENING')
Database   dxxx
DBAlias    dxxx
Protocol   TCP / IP

当我从 ODBC 进行“连接”(测试连接)时,出现以下错误

SQL30081N  A communication error has been detected.  
Communication protocol being used: "TCP/IP".  Communication API being used:
"SOCKETS".  Location where the error was detected. Protocol specific error code(s) 10061. sqlstate=08001

对我来说设置是正确的,不知道我错过了什么

【问题讨论】:

    标签: db2 odbc database-administration


    【解决方案1】:

    您是如何创建系统 DSN 的?默认情况下,Windows 7 64 位将在 64 位 ODBC 数据源管理下创建 DSN。我想我在 32 位版本下创建它的运气更好,可以在 C:\Windows\SysWOW64\odbcad32.exe 找到。

    【讨论】:

    • 是的,我是通过 odbcad32.exe 创建的
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-11-24
    • 2017-05-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-10
    • 2016-05-16
    相关资源
    最近更新 更多