想用python连接使用ipv6的db2
不知道如何用python ibm_db 去连接
报错如下
ibm connect error:[IBM][CLI Driver] SQL30081N A communication error has been detected. Communication protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "fe80::a00:27ff:fe46:62c7%en0". Communication function detecting the error: "connect". Protocol specific error code(s): "61", "*", "*". SQLSTATE=08001 SQLCODE=-30081
params:DATABASE=duni;HOSTNAME=fe80::a00:27ff:fe46:62c7%en0;PORT=50000;PROTOCOL=tcpip;UID=db2inst1;PWD=db2inst1