MACROMEDIA COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual page 55

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

Advertisement

Settings for the Northwind sample database
SQL Server ships with a sample database named Northwind. Establishing a connection to the
Northwind database can help you learn ColdFusion MX while using a familiar database.
To establish a connection to the SQL Server Northwind database, you must set up the database
int he SQL Server Enterprise manager and in the ColdFusion MX Administrator.
To set up the database in the SQL Server Enterprise manager:
Expand the server group.
1.
Expand the server.
2.
Under the Security folder, right-click on Logins.
3.
Select New Login.
4.
Select Windows Authentication or SQL Server Authentication settings.
5.
Select the Northwind database, and specify the language.
6.
Ensure that the database server is using mixed authentication. While in Enterprise Manager,
7.
right click on the server, select Properties > Security and then select the Security tab. Ensure that
the SQL Server and Windows radio button is clicked.
Click OK.
8.
To set up the database in the ColdFusion MX Administrator:
Open the ColdFusion MX Administrator.
1.
Click Data & Services > Data Sources.
2.
Type northwind in the Data Source Name field, and select Microsoft SQL Server in the Driver
3.
drop-down list box.
Click Add.
4.
Type Northwind in the Database Name field, 127.0.0.1 (or the database server IP address) in
5.
the Server field, and 1433 in the Port field.
Note: Do not specify a user name or password when defining the data source.
Save the data source.
6.
Troubleshooting SQL Server connections
If you are having trouble establishing a connection to SQL Server, review the following
considerations:
If you installed SQL Server using a server name other than the default, you must use your
chosen domain\servername wherever there's a reference to (local).
The following situations can cause a Connection Refused error:
If you specified authentication information in SQL Server, ensure that you have not defined a
username and password in the ColdFusion data source.
Connecting to Microsoft SQL Server
55

Advertisement

Table of Contents
loading

Table of Contents