dreamweaver| Create | data | Data sources you must create a ColdFusion data source before you use the database information in the page. If you are running ColdFusion MX 7 or later, you can create or modify a data source directly in Dreamweaver. If you are running ColdFusion mx, you must create or modify a data source using the ColdFusion MX administrator (the server's administrative console). In this case, you can still use Dreamweaver to open the ColdFusion MX administrator.
to create or modify a ColdFusion data source when running ColdFusion MX 7 or later, do the following:
- Make sure that the computer running ColdFusion MX 7 or later is defined as the test server for the site.
- Open any one of the ColdFusion pages in the Dreamweaver.
- To create a new data source, click the Plus (+) button in the Database Panel (window > database) and enter the parameter values specific to the database driver in the dialog box that appears.
Attention |
|
Dreamweaver will only display the plus button when you run ColdFusion MX 7 or later. |
For more information, refer to the driver vendor's documentation or consult your system administrator.
- To modify a data source, double-click the database connection in the database panel and make changes in the Connection dialog box that appears.
In addition to the data source name, you can edit any of the parameters. For more information, refer to the driver vendor's documentation or consult your system administrator.
to create or modify a ColdFusion data source when running ColdFusion MX 6.1 or 6.0, do the following:
- Open any one of the ColdFusion pages in the Dreamweaver.
- In the database Panel of Dreamweaver (Window > Database), click the Modify Data source icon on the Panel toolbar.
The ColdFusion MX administrator opens in the browser.
- Log on to the ColdFusion MX Administrator and create or modify a data source.
You must provide some specific parameter values to create a ColdFusion data source. When you create a ColdFusion data source, you can use it in Dreamweaver.