Connecting to the sample database (PHP)

Connecting to the sample database (PHP)

During installation, Dreamweaver copies a SQL script to your hard disk. You can use this script to automatically create a sample MySQL database. This section describes how to create a connection to the sample database.

This section assumes you have installed and configured MySQL on your local or remote computer. To download and install the database system, visit the MySQL website at

To create a database connection:

  1. Create the sample MySQL database using the SQL script (see Creating the MySQL database).
  2. Create the connection in Dreamweaver (see Creating a database connection).

Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly