Connecting to the sample database (ColdFusion) 251
You can place the file in any folder on the remote computer, or you can
create a new folder for it.
After the database is in place, create a ColdFusion data source.
Connecting to the database
To connect to the database, you must create a ColdFusion data source
called connTownsend that points to the sample database file.
To connect to the database:
1.
In Dreamweaver, open a ColdFusion page like send.cfm and view.cfm.
2.
In the Databases panel (Window > Databases), click the “RDS login”
link, enter your RDS password, and click OK.
3.
Click Plus (+) on the Databases panel toolbar and select Microsoft
Access Connection from the pop-up menu.
4.
In the CF Data Source Name text box, enter
connTownsend
.
5.
In the Database File text box, enter the path to the tutorial.mdb
database file.
If ColdFusion is running on your local computer and you installed
Dreamweaver to its default location, the path is as follows:
C:\Program Files\Macromedia\Dreamweaver
8\Tutorial_assets\cafe_townsend\data\tutorial.mdb
NO
T
E
There are potential security issues if you place the database file inside the
Inetpub folder on the remote computer. It’s better to place the file in a
folder that’s not publicly accessible.
NO
TE
If the Plus button appears on the Databases panel, restart 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...