0

Another team in my company commissioned a new server and installed Netezza on it, along with a bunch of internal programs. All of their programs that connect to Netezza are now giving this error:

A connection error has occurred: Invalid packet length

Attempting to connect to the database using a GUI such as DbVisualizer or RazorSQL gives the same error. Connecting to the "old" server still works fine. One of the differences between the two boxes is the Java version, 1.5 on the old one and 1.7 on the new one... not sure if that is relevant. (I'm not a Netezza expert, not really a Netezza user either!)

Any ideas?

4

1 に答える 1

1

最初から、NZ1 と NZ2 の両方が同じバージョンの Netezza を実行しているという印象を受けました。どうやらそうではなかったようです。

新しい NZ2 ホストはバージョン 6.0 に対して実行されていましたが、NZ2 は 3.0 に対して実行されていました。NZ2に使用していた JDBC ドライバーは、3 つのメジャー バージョンが古すぎました。これは、NZ1 の nzsql クライアントが NZ2 ホストに接続できなかった理由も説明しています。

IBM の最新の JDBC ドライバーに更新したところ、正常に接続できるようになりました。

于 2012-12-04T00:00:13.607 に答える