In order to connect to an Informix database you need to install an Informix Client, such as IBM Informix Connect. Ensure that you select the ODBC Driver during the install of the client.
After installing the Client, you should reboot your PC.
In order to connect to your Informix server using AQT, you will need to configure an ODBC Datasource for your database. The general process for doing this is described in Configuring a Database Connection.
To configure this, specify:
server1
, the default name for the informix server will be ol_server1
). If you specify this incorrectly, you will get the following message when you try to connect: "INFORMIXSERVER does not match either DBSERVERNAME or DBSERVERALIAS
".
localhost
if the Informix server resides on your PC.onsoctcp
If you do not know the name of a database, use sysmaster.
These are specified on the Environment tab. Both Client Locale and Database Locale must be specified correctly. If not, you will get the mesage "Unable to load translation dll
".
en_US.CP1252
for both Client and Database Locales, should work.en_US.8859-1
and a Database Locale of en_US.819
should also work. Unable to load translation dll
" no matter what you specify.en_US.UTF8
for both of these.You can find the locales of your databases by the following query (if you have a connection!)
Select * from sysmaster:informix.sysdbslocale
After configuring your datasource, click on Apply & Test Connection (on the Connection tab) to check that the connection has been set up correctly.