Not a persistent connection. check for max connections. resued = 0
Allocate env handle
Connection attempted, but failed. Hence free env and dbc
connection is in error with conn_res = 00000000022D4870
rc is not success. Error message printed. Returning NULL. rc = -2
Traceback (most recent call last):
File "P:\Users\934334\Desktop\test_db2.py", line 3, in <module>
conn = ibm_db.connect("HOSTNAME=;PORT=;DATABASE=;UID=;PWD=;", "", "")
SystemError: <built-in function connect> returned NULL without setting an errorThe script is simply:
import ibm_db
conn = ibm_db.connect("HOSTNAME=;PORT=;DATABASE=;UID=;PWD=;", "", "")
(I've removed connection info)
What can I do?