Configuring Database Connection And Debugging Options; Configuring The Connection To The Sample Database File - MACROMEDIA COLDFUSION MX 61-GETTING STARTED BUILDING COLDFUSION MX Getting Started

Building coldfusion mx applications
Table of Contents

Advertisement

Configuring database connection and debugging options

Prior to ColdFusion development, use the ColdFusion MX Administrator to define the
connection to the sample database file and any optional debugging options.
To access the ColdFusion Administrator, do either of the following:
Select Start > Programs > Macromedia ColdFusion MX > ColdFusion MX Administrator.
Open a browser and go to one of the following URLs:
External web server users: http://localhost/CFIDE/administrator
Built-in web server users: http://localhost:8500/CFIDE/administrator
Note: If you are ceasing the ColdFusion MX Administrator from a remote client, you must replace
localhost with the host name or IP address of the computer where ColdFusion MX is installed.
The following sections describe how to establish a connection to the sample tutorial database file
and how to enable optional debugging settings.

Configuring the connection to the sample database file

The following procedures describe how to configure a connection to the sample database file
(CompassTravel) using the ColdFusion MX Administrator. Prior to using Part II of this book to
build the sample application, you must configure the Compass Travel database connection.
Perform one of the following procedures. The Microsoft Access procedure is for Windows users.
The PointBase procedure is for UNIX and Macintosh OS X users.
To define the connection to the sample Microsoft Access database:
In the ColdFusion MX Administrator, select Data & Services > Data Sources.
1
In the Add New Data Source dialog box, specify the following:
2
Field
Data Source name
text box
Driver drop-down list
box
Click Add to configure the data source name and driver.
3
The Microsoft Access Data Source dialog box appears.
Action
Specify the name CompassTravel.
Note: Ensure that the name of the data source file does not contain any
spaces. If the name contains a space, the data source connection fails.
Select Microsoft Access. Windows 98/ME users should select Microsoft
Access with Unicode.
Configuring database connection and debugging options
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents