Can't connect via ODBC
Posted: 29.11.2020, 17:30
So I have IBM Informix 32-bit driver set up in Windows.
I'm trying to connect to it with TZConnection (Zeos 8.0) in Lazarus 2.0.10. 32-bit.
I set up Database=ODBC_Informix (that is the DSN) and Protocol=odbc_a, but got error:
SQL Error: IM002[0]:[Microsoft][ODBC Driver Manager]. Data source name not found and no default driver specified.
Connection to this DSN with TConnection is OK.
Similar problem often happens when driver looks for 64-bit DSN instead.
What I'm doing wrong?
PS I have tried to set up ZConnection to other DSNs available in my system, both 32 and 64-bit: MS Access, SQLite, dBase, etc. but always get the same error.
I'm trying to connect to it with TZConnection (Zeos 8.0) in Lazarus 2.0.10. 32-bit.
I set up Database=ODBC_Informix (that is the DSN) and Protocol=odbc_a, but got error:
SQL Error: IM002[0]:[Microsoft][ODBC Driver Manager]. Data source name not found and no default driver specified.
Connection to this DSN with TConnection is OK.
Similar problem often happens when driver looks for 64-bit DSN instead.
What I'm doing wrong?
PS I have tried to set up ZConnection to other DSNs available in my system, both 32 and 64-bit: MS Access, SQLite, dBase, etc. but always get the same error.