Editing or deleting a database connection
When you create a database connection, Dreamweaver stores the connection information in an
include file in the Connections subfolder in the site's local root folder. You can edit or delete the
connection information in the file manually or as follows.
To update a connection:
Open a PHP page in Dreamweaver, then open the Databases panel (Window > Databases).
1
A list of connections appears in the panel.
Right-click (Windows) or Control-click (Macintosh) the connection and select Edit
2
Connection from the pop-up menu.
The dialog box you used to create the connection appears.
Make the changes and click OK.
3
Dreamweaver automatically updates the include file, which updates all the pages in the site that
use the connection.
To delete a connection:
Open a PHP page in Dreamweaver, then open the Databases panel (Window > Databases).
1
A list of connections appears in the panel.
Right-click (Windows) or Control-click (Macintosh) the connection and select Delete
2
Connection from the pop-up menu.
The dialog box you used to create the connection appears.
Confirm that you want to delete the connection.
3
To avoid getting errors after deleting a connection, update every recordset that uses the old
connection by double-clicking the name of the recordset in the Bindings panel and selecting a
new connection in the Recordset dialog box.
488
Chapter 28: Database Connections for PHP Developers
Need help?
Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?
Questions and answers