Hello,
I'm trying to connect to an Informix database without success.
>>> ibm_db_dbi.connect("DATABASE=udqa;HOSTNAME=myhost;PORT=40013;PROTOCOL=TCPIP;UID=user;PWD=password;","","")
ibm_db_dbi.OperationalError: ibm_db_dbi::OperationalError: [IBM][CLI Driver] SQL30081N A communication error has been detected. Communi
cation protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "10.100.100.100".
Communication function detecting the error: "recv". Protocol specific error code(s): "*", "*", "0". SQLSTATE=08001 SQLCODE=-30081
The port on that host is open and I can connect successfully with DBeaver. The JDBC connection string is:
jdbc:informix-sqli://myhost:40013/pct:INFORMIXSERVER=udqa
I also tried DATABASE=pct instead of udqa and ibm_db module instead of ibm_db, but it doesn't make a difference.
Any idea what might be wrong?
Thank you in advance,
Nikola