MACROMEDIA COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER Manual page 138

Table of Contents

Advertisement

116
2.
Select the System DSN tab and click the add button.
3.
From the list of installed drivers, choose Informix-CLI 2.5 (32 bit).
4.
Fill out the ODBC INFORMIX 7.2 Driver Setup Dialog box as follows:
Data Source Name: Inf_ol7
Description: Demo Data
Database Name: stores7
Click the advanced button
Database List:
Default User Name: informix
Host Name: ts_informix
Service Name: turbo
Server Name: ol_ts_informix
Protocol Type: olsoctcp
Yield Proc: 1 - None
Cursor Behavior: 0 - Close
Enable Scrollable Cursors: 0 - Disabled
Get DB List From Informix: 1 - Yes
Now you have an Informix ODBC data source. You can use this in a ColdFusion
application. It is important to note that you must provide a username and password in
the ColdFusion CFQUERY tag.
Verifying the Informix data source
Once the client software is configured, verify the Inf_ol7 data source as described in
"Verifying ColdFusion Data Sources" on page 85 to make sure it is configured properly.
If verification fails, check the system environment variables.
To check the system environment variables:
1.
Open the System Control Panel/system and click the Environment tab. In the
System Variables box, there should be a variable called "InformixDir," which
should point to the Informix folder (for example,
it does not exist, add one.
There should also be a variable called "Path" which should include the path to the
Informix bin directory. If not then modify the Path variable to include it.
2.
After adding these variables, restart the system.
If you are having trouble accessing a data source, and the data source resides on a
different machine, you may want to try having ColdFusion run under an administrator
account on the Web server.
Also, make sure that all ColdFusion services are running under a specific account
instead of the default system account. By default, ColdFusion will install to run under
the system account.
Administering ColdFusion Server
c:\program files\informix
). If

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 4.5

Table of Contents