Dreamweaver CS4 Resources
|
Edit or delete 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.
Edit a connection- Open a PHP page in Dreamweaver, and then open the Databases
panel (Window > Databases).
- Right-click (Windows) or Control‑click (Macintosh) the
connection and select Edit Connection from the menu.
- Edit the connection information and click OK.
Dreamweaver updates the include
file, which updates all the pages in the site that use the connection.
Delete a connection- Open a PHP page in Dreamweaver, and then open the Databases
panel (Window > Databases).
- Right-click (Windows) or Control‑click (Macintosh) the
connection and select Delete Connection from the menu.
- In the dialog box that appears, confirm that you want
to delete the connection.
Note: 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.
|