247410
316
Zoom out
Zoom in
Previous page
1/326
Next page
316 Setup for Sample PHP Site
To create a database connection:
1. Create the sample MySQL database using the SQL script (see “Creating
the MySQL database” on page 316).
2. Create the connection in Dreamweaver (see “Creating a database
connection” on page 318).
Creating the MySQL database
The sample files for Dreamweaver include a SQL script capable of creating
and populating a sample MySQL database.
Before starting, make sure MySQL is installed and configured on your
local or remote computer. Download the latest version from the MySQL
website at http://dev.mysql.com/downloads/. For development purposes,
download and install the Windows Essentials version of the MySQL
database server.
To create the sample MySQL database:
1. Copy the SQL script file, insert.sql, to an appropriate folder on the
computer that has MySQL installed.
If you installed Dreamweaver to its default location, the path to the
script file is as follows:
C:\Program
Files\Macromedia\Dreamweaver 8\Tutorial_assets\cafe_townsend\
data\insert.sql (Windows)
/Applications/Macromedia Dreamweaver 8/Tutorial_assets/
cafe_townsend/data/insert.sql (Macintosh)
If the computer running MySQL is a Windows computer, copy the
insert.sql script to Program Files\MySQL\MySQL Server 4.x\bin. If
the computer running MySQL is a Macintosh, copy the insert.sql
script to your Documents folder in your home folder.
2. On the computer that has MySQL installed, start the MySQL
Command Line Client (Windows) or the Terminal (Macintosh).
In Windows, start the MySQL Command Line Client by selecting
Start > MySQL > MySQL Server 4.x > MySQL Command Line
Client.
On the Macintosh, start the Terminal by going to the Applications
folder, opening the Utilities folder, and double-clicking Terminal.
316


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Macromedia dreamweaver 8 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Macromedia dreamweaver 8 in the language / languages: English as an attachment in your email.

The manual is 10,74 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Macromedia dreamweaver 8

Macromedia dreamweaver 8 User Manual - English - 19 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info