Connecting To Db2 Databases; Configuring Db2 Options (Windows); Configuring Db2 Options (Unix) - MACROMEDIA COLDFUSION 5-ADVANCED ADMINISTRATION Manual

Table of Contents

Advertisement

Connecting to DB2 Databases

Connecting to DB2 Databases

On Windows and UNIX, ColdFusion lets you access DB2 databases using ODBC and
native drivers.

Configuring DB2 options (Windows)

If you install ColdFusion on a Windows server, you can configure a DB2 database as a
ColdFusion data source using ODBC, OLE DB, or a native driver. For information
about using OLE DB with ColdFusion data sources, see "About OLE DB" on page 4.
Native driver: DB2 Universal Database 5.2/6.1 options (Windows)
The following table describes ColdFusion options for the DB2 Universal Database
5.2/6.1 native driver:
Option
Data Source Name
Description
Database Alias
Note
Although native driver performance is usually superior to ODBC performance, you
can connect to DB2 via ODBC on Windows. To do so, create the data source in the
Windows ODBC Data Source Administrator, using the IBM ODBC driver. In the
ColdFusion Administrator, configure any ColdFusion-specific settings, such as a
username and password.

Configuring DB2 options (UNIX)

If you install ColdFusion Server Enterprise Edition on a Solaris or Linux server, you
can configure DB2 ColdFusion data sources using a native driver. On Solaris, you can
also use a MERANT ODBC driver.
Native driver: DB2 Universal Database 5.2/6.1 options (Solaris, Linux)
ColdFusion native drivers are the same for Windows NT and UNIX. For the
ColdFusion options for the DB2 Universal Database 5.2/6.1 native driver, see the
table in "Native driver: DB2 Universal Database 5.2/6.1 options (Windows)" on
page 15.
Description
A name for your data source.
Descriptive information about the data source.
The DB2 database name.
15

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5-ADVANCED ADMINISTRATION and is the answer not in the manual?

This manual is also suitable for:

Coldfusion 5

Table of Contents