Adding Data Sources - MACROMEDIA COLDFUSION 5-DEVELOPING Develop Manual

Table of Contents

Advertisement

22

Adding data sources

You use the ColdFusion Administrator to add data sources to the ColdFusion
Administrator.
When you add a data source, you assign it a name so that you can reference it within
tags such as
data source tells ColdFusion which database to connect to and what parameters to
use for the connection.
Use the following procedure to add the CompanyInfo data source that you use in
many examples in this book.
Note
By default, the ColdFusion setup installs the CompanyInfo and cfsnippets databases
used in examples in this book and adds them to the available ODBC data sources.
Therefore, this procedure should not be necessary to work with examples in this
book.
To add a data source:
1
2
3
on application pages to query databases. During a query, the
cfquery
Start the ColdFusion Administrator.
On Windows, select Start > Programs > ColdFusion Server > ColdFusion
Administrator. On UNIX, enter the URL
your browser.
The Administrator prompts you for a password if you assigned one to the
ColdFusion Server during the installation.
Enter a password to gain access to the Administrator.
Select ODBC under the Data Sources heading on the left menu.
Chapter 3 Querying a Database
hostname/CFIDE/administrator
in

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 5

Table of Contents