尝试使用MicroStrategy连接时,DB2上的SQLCODE-1334

尝试使用MicroStrategy连接时,DB2上的SQLCODE-1334,db2,microstrategy,sqlcode,Db2,Microstrategy,Sqlcode,我想知道是否有人在尝试连接到DB2数据库时遇到过以下错误: 连接失败 错误类型:Odbc错误。已尝试Odbc操作: SQLDriverConnect。[HY000:-1334:on-SQLHANDLE][MicroStrategy][odbcdb2 有线协议驱动程序][DB2]未知错误:SQLCODE-1334 我查看了DB2文档,找不到SQL代码错误。我不知道发生了什么事。我是否需要更新或降级ODBC驱动程序?不确定您正在查看哪些文档,但下面是: $ db2 \? sql1334 SQL1

我想知道是否有人在尝试连接到DB2数据库时遇到过以下错误:

连接失败

错误类型:Odbc错误。已尝试Odbc操作:

SQLDriverConnect。[HY000:-1334:on-SQLHANDLE][MicroStrategy][odbcdb2 有线协议驱动程序][DB2]未知错误:SQLCODE-1334


我查看了DB2文档,找不到SQL代码错误。我不知道发生了什么事。我是否需要更新或降级ODBC驱动程序?

不确定您正在查看哪些文档,但下面是:

$ db2 \? sql1334


SQL1334N  The database server or DB2 Connect server cannot be used to
      route a remote request to a second database server in this
      configuration.

Explanation: 

An attempt was made to route a request through a database server node or
DB2 Connect server node using an unsupported combination of client and
target database server, or from a non-LUW DRDA client to a DRDA target
database through a LUW database server or DB2 Connect server. The
request must be routed directly from the client to the node on which the
target database is running.

User response: 

Uncatalog the database at the client machine and then catalog the
database specifying the node on which the database actually resides.
Ensure that the node is also cataloged.

正如您所看到的,在9.3.0版本中,有一个与Windows上的9.2.1版和DB2相关的问题的错误修复


或者只是你的配置(即数据库名称)与中的家伙一样错误。

谢谢-我不明白为什么,但是使用JDBC的应用程序的配置不起作用。这可能与下面提到的编目问题有关。谢谢!更新配置后,问题已得到解决。可能与编目方式有关,可能与使用Microstrategy包含的第三方ODBC驱动程序有关,而不是使用本机DB2客户机。