250 Setup for Sample ColdFusion Site
Connecting to the sample
database (ColdFusion)
During installation, Dreamweaver copies a sample Microsoft Access
database to your hard disk. This section describes how to create a
connection to the sample database.
To create a database connection:
1.
If you’re using a remote computer as a server, copy the sample database
to the remote computer. (See
“Setting up the database (server on a
remote computer)” on page 250
).
2.
Create a ColdFusion data source and view the connection in
Dreamweaver (see
“Connecting to the database” on page 251
).
Setting up the database (server on a
remote computer)
This section applies only if your web server is running on a remote
computer. If your web server is running on the same computer as
Dreamweaver, skip to
“Connecting to the database” on page 251
.
Before you attempt to connect to the sample database, copy the database to
the remote computer’s hard disk. If you installed Dreamweaver to its
default location, the path on your local hard disk to the database file
(tutorial.mdb) is as follows:
■
C:\Program
Files\Macromedia\Dreamweaver 8\Tutorial_assets\cafe_townsend\data
\tutorial.mdb (Windows)
■
/Applications/Macromedia Dreamweaver 8/Tutorial_assets/
cafe_townsend/data/tutorial.mdb (Macintosh)
NO
T
E
For information about connecting to another database, see “Database
Connections for ColdFusion Developers” in
Using Dreamweaver
.
Summary of Contents for DREAMWEAVER 8-GETTING STARTED WITH...
Page 1: ...Getting Started with Dreamweaver...
Page 8: ...8 Contents...
Page 10: ......
Page 46: ...46 Dreamweaver Basics...
Page 48: ......
Page 128: ...128 Tutorial Formatting Your Page with CSS...
Page 136: ...136 Tutorial Publishing Your Site...
Page 138: ......
Page 189: ...Add a Repeat Region XSLT object 189 3 Select Insert XSLT Objects Repeat Region...
Page 196: ...196 Tutorial Displaying XML Data...
Page 216: ......
Page 230: ...230 Understanding Web Applications...
Page 236: ...236 Installing a Web Server...
Page 254: ...254 Setup for Sample ColdFusion Site...
Page 268: ...268 Setup for Sample ASP NET Site...
Page 284: ...284 Setup for Sample ASP Site...
Page 300: ...300 Setup for Sample JSP Site...
Page 320: ...320 Setup for Sample PHP Site...