SQLCODE -1334 в DB2 при попытке подключения с помощью MicroStrategy

Мне интересно, сталкивался ли кто-нибудь со следующей ошибкой при попытке подключения к базе данных DB2:

Сбой соединения.

Тип ошибки: ошибка Odbc. Попытка операции odbc:

SQLDriverConnect. [HY000: -1334: на SQLHANDLE] [MicroStrategy] [Драйвер ODBC DB2 Wire Protocol] [DB2] Неизвестная ошибка: SQLCODE -1334

Я просмотрел документацию по DB2 и не смог найти ошибку кода SQL. Я не могу понять, что происходит. Придется ли мне обновлять или понижать версию драйверов ODBC?


person user2933300    schedule 29.10.2013    source источник


Ответы (2)



Не уверен, какую документацию вы смотрели, но вот что:

$ 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.
person mustaccio    schedule 29.10.2013
comment
Спасибо! Проблема была решена после обновления моей конфигурации. Может быть связано с каталогом вещей. - person user2933300; 30.10.2013
comment
Возможно, это связано с использованием сторонних драйверов ODBC, которые включает Microstrategy, а не с использованием собственного клиента DB2. - person Ian Bjorhovde; 31.10.2013