Код: Выделить всё
import _db
conn=ibm_db.connect("DATABASE=*LOCAL;HOSTNAME=*.*.*.*;PORT=port;PROTOCOL=TCPIP;UID=uid;PWD=pwd",'','')
connState = ibm_db.active(conn)
print(connState)
Код: Выделить всё
Exception: [IBM][CLI Driver] SQL1598N An attempt to connect to the database server failed because of a licensing problem. SQLSTATE=42968 SQLCODE=-1598
Подробнее здесь: https://stackoverflow.com/questions/704 ... db-library