Connecting To Microsoft Sql Server Databases; Configuring Microsoft Sql Server Options (Windows) - MACROMEDIA COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER Manual

Table of Contents

Advertisement

Chapter 4: Managing Data Sources

Connecting to Microsoft SQL Server Databases

ColdFusion lets you access SQL Server databases from both Windows NT and UNIX,
via ODBC and OLE DB drivers.

Configuring Microsoft SQL Server Options (Windows)

If ColdFusion Server is installed on a Windows NT server, you can configure Microsoft
SQL Server as a ColdFusion data source using any either an ODBC or OLE DB driver.
For information about using OLE DB drivers with ColdFusion data sources, see "OLE
DB Drivers" on page 82.
ODBC: Microsoft SQL Server Options (Windows)
The following table describes ColdFusion ODBC options for Microsoft SQL Server data
sources. You set these options when you configure a ColdFusion data source. See
"Adding Data Sources for ColdFusion" on page 82 for more information.
Microsoft SQL Server ODBC Options
Option
Data Source Name
Description
Server
Description
A name for your ODBC data source.
A short description of the data source.
The name of the server hosting the database you want to use.
Use Trusted Connection — Allows SQL Server to authenticate users
based on their Windows NT logins. You can use this option if the
SQL Server database is using an Integrated or Mixed security mode.
Integrated security uses NT authentication schemes for all
connections. Only users with trusted connections are allowed to
connect to SQL Server. It is not necessary to populate the
ColdFusion username and password fields because SQL Server
ignores these values; using a trusted connection connects to the
database as a ColdFusion service user, not a ColdFusion runtime
user.
Mixed security allows both trusted and nontrusted connections. If
the username and password are left blank, SQL Server will use NT
domain credentials. However, if you do pass a username and
password, SQL Server tries to authenticate using the passed
information.
87

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion 4.5

Table of Contents