You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And the environment shows the following version information.
[nz@netezza ~]$ nzsql
\Welcome to nzsql, the IBM Netezza SQL interactive terminal.
Type: \h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit
SYSTEM.ADMIN(ADMIN)=> select version();
VERSION
-------------------------------
Release 7.2.1.0 [Build 46322]
(1 row)
SYSTEM.ADMIN(ADMIN)=> \q
[nz@netezza ~]$
My test code is based on the example provided in the doc page
After I compile and execute it (execute the program inside the test Netezza VM shell), the test program does not work and the following driver log is generated.
[nz@netezza ~]$ cat nzgolang_nz46058.log
---------------- IBM PDA Log -----------------
----------------------------------------------
2022-05-31 06:53:57 EST [46058] [INFO] Starting handshake negotiation with server
2022-05-31 06:53:57 EST [46058] [INFO] Handshake negotiation successful
2022-05-31 06:53:57 EST [46058] [INFO] Send handshake information to server
2022-05-31 06:53:57 EST [46058] [INFO] v12.(*conn).Conn_secure_session 3427 : Attempting Unsecured session
2022-05-31 06:53:57 EST [46058] [INFO] Processing query: set nz_encoding to 'utf8'
2022-05-31 06:53:57 EST [46058] [FATAL] v12.(*conn).connNextResultSet 1313 : Unexpected response: 'K'
2022-05-31 06:53:57 EST [46058] [INFO] Connection successful !!
---------------- IBM PDA Log -----------------
----------------------------------------------
2022-05-31 06:53:57 EST [46058] [INFO] Starting handshake negotiation with server
2022-05-31 06:53:57 EST [46058] [INFO] Handshake negotiation successful
2022-05-31 06:53:57 EST [46058] [INFO] Send handshake information to server
2022-05-31 06:53:57 EST [46058] [INFO] v12.(*conn).Conn_secure_session 3427 : Attempting Unsecured session
2022-05-31 06:53:57 EST [46058] [INFO] Processing query: set nz_encoding to 'utf8'
2022-05-31 06:53:57 EST [46058] [FATAL] v12.(*conn).connNextResultSet 1313 : Unexpected response: 'K'
2022-05-31 06:53:57 EST [46058] [INFO] Connection successful !!
---------------- IBM PDA Log -----------------
----------------------------------------------
2022-05-31 06:53:57 EST [46058] [INFO] Starting handshake negotiation with server
2022-05-31 06:53:57 EST [46058] [INFO] Handshake negotiation successful
2022-05-31 06:53:57 EST [46058] [INFO] Send handshake information to server
2022-05-31 06:53:57 EST [46058] [INFO] v12.(*conn).Conn_secure_session 3427 : Attempting Unsecured session
2022-05-31 06:53:57 EST [46058] [INFO] Processing query: set nz_encoding to 'utf8'
2022-05-31 06:53:57 EST [46058] [FATAL] v12.(*conn).connNextResultSet 1313 : Unexpected response: 'K'
2022-05-31 06:53:57 EST [46058] [INFO] Connection successful !!
[nz@netezza ~]$
I also find the following error message in /nz/kit/log/postgres/pg.log.
Hi, Team,
Recently I try to use
nzgo
to connect Netezza 7.2.1,but I failed to connect the database.
I use a Netezza test environment obtained from below link.
https://www.ibm.com/support/pages/where-download-ibm-netezza-emulator-software
https://www.ibm.com/docs/en/psfa/7.1.0?topic=overview-virtual-machines
And the environment shows the following version information.
My test code is based on the example provided in the doc page
After I compile and execute it (execute the program inside the test Netezza VM shell), the test program does not work and the following driver log is generated.
I also find the following error message in
/nz/kit/log/postgres/pg.log
.How can I resolve the connection failure issue?
Thanks in advance.
The text was updated successfully, but these errors were encountered: