Adding Data Sources; Adding Data Sources In The Administrator - MACROMEDIA COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual

Hide thumbs Also See for COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

Driver
Microsoft Access with Unicode
support
Microsoft SQL Server 7.x, 2000
MySQL
ODBC Socket
Oracle R3 (8.1.7), Oracle 9i
Other
Sybase 11.5, 11.9, 12.0, 12.5

Adding data sources

In the ColdFusion MX Administrator, you configure your data sources to communicate with
ColdFusion. Once you add a data source to the Administrator, you access it by name in any
CFML tag that establishes database connections; for example,
source tells ColdFusion which database to connect to and what parameters to use for the
connection.
The ColdFusion MX Administrator organizes all the information about a ColdFusion MX
server's database connections in a single, easy-to-manage location. In addition to adding new data
sources, you can use the Administrator to specify changes to your database configuration, such as
relocation, renaming, or changes in security permissions.

Adding data sources in the Administrator

You use the ColdFusion MX Administrator to quickly add a data source for use in your
ColdFusion applications. When you add a data source, you assign it a data source name (DSN)
and set all information required to establish a connection.
Note: ColdFusion MX includes several data sources that are configured by default, including
cfsnippets, CompanyInfo, and exampleapps. This procedure should not be necessary to work with
these data sources.
To add a data source:
In the ColdFusion MX Administrator, select Data & Services > Data Sources.
1
Under Add New Data Source, enter a Data Source Name; for example, MyTestDSN. The
2
following names are reserved. You cannot use them for data source names:
service
jms_provider
comp
jms
Select a Driver from the drop-down list box; for example, Microsoft SQL Server.
3
Type
Reference
2
"Connecting to Microsoft Access with Unicode"
on page 46
4
"Connecting to Microsoft SQL Server 7.x, 2000"
on page 47
4
"Connecting to MySQL" on page 48
3
"Connecting to ODBC Socket" on page 50
4
"Connecting to Oracle R3 (8.1.7), Oracle 9i"
on page 51
"Connecting to other data sources" on page 52
4
"Connecting to Sybase 11.5, 11.9, 12.0, and 12.5"
on page 54
. During a query, the data
cfquery

Adding data sources

39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents