if you log with IBM then this is the case I had open TS019563391
./odbc_test.pyINFORMIXDIR = /informix/csdk450fc11w1INFORMIXSQLHOSTS = /home/informix/etc/sqlhostsINFORMIXSERVER = dbstageLD_LIBRARY_PATH = /informix/csdk450fc11w1/lib/cli:/informix/csdk450fc11w1/lib/esql:/informix/csdk450fc11w1/lib:/informix/csdk450fc11w1/lib/esqlODBCINI = /etc/odbc.iniODBCSYSINI = /etc*** buffer overflow detected ***: terminated also had locale issues, and did this to fix it
conn_ifx = pyodbc.connect(
"DRIVER=IBM Informix ODBC DRIVER;"
"HOST=xxxxxx;"
"SERVER=xxxxx;"
"SERVICE=xxxxx;"
"DATABASE=sysmaster;"
"PROTOCOL=onsoctcp;"
"UID=informix;"
"PWD=xxxxxxx"
)
conn_ifx.setdecoding(pyodbc.SQL_WCHAR, encoding='UTF-8')
conn_ifx.setdecoding(pyodbc.SQL_CHAR, encoding='UTF-8')
conn_ifx.setencoding(encoding='UTF-8')
On 2/17/2026 11:02 AM, Paul Watson via IBM TechXchange Community wrote:
0100019c6c8d953a-9815aef6-03d8-4f09-891b-1f94e3baa567-000000@email.amazonses.com"> IBM accepted it was known with the latest pyodbc driver, I need to see if they accepted it as a bug On 2/17/2026 10:34 AM, Bob... -posted to the "Informix" group
Original Message:
Sent: 2/17/2026 12:02:00 PM
From: Paul Watson
Subject: RE: Obtaining IBM ODBC driver for Informix
IBM accepted it was known with the latest pyodbc driver, I need to see if they accepted it as a bug On 2/17/2026 10:34 AM, Bob Kline via IBM TechXchange Community wrote:
0100019c6c74448c-75405cdc-7733-4707-a7d5-e986e044f724-000000@email.amazonses.com"> Thanks, Paul. I'm digging in to see if there's a way to get pyodbc able to connect with the latest version. Will circle back with an update here...