This section describes how to create a connection in Dreamweaver to the sample feedback database.
In the Databases panel (select Window > Databases), click the Plus (+) button on the panel and select MySQL Connection from the pop-up menu.
The MySQL Connection dialog box appears.
In the Database field, enter adc_demo.
Note that you don't need to precede the underscore with a backslash here. It was inserted by phpMyAdmin in the previous section (see Figure 11) only because phpMyAdmin uses a query that permits wildcard characters.
Click Test.
Dreamweaver attempts to connect to the database. If the connection fails, do the following:
Expand the connTest connection, and then expand the Tables branch. You'll see the tables in the database (see Figure 13).

Figure 13. The Databases panel showing the tables.
Congratulations! Your PHP development environment and site is now set up and you are ready to start developing PHP web applications in Dreamweaver.
This tutorial has shown you how to set up a PHP development environment, define a PHP site, and connect to a MySQL database. Defining the site and testing server, and establishing a MySQL connection are fundamental to developing PHP web applications in Dreamweaver. You are now ready to start experimenting with Dreamweaver server behaviors to select, insert, update, and delete database content in a website.
For more articles and tutorials on developing for PHP using Dreamweaver, visit the Web application development page in the Dreamweaver Developer Center. If you're new to building PHP applications in Dreamweaver, step through the tutorial series Creating your first dynamic site in Dreamweaver.