You may use these files with any database program that can read SQL. These instructions are for use with MySQL.
To download the files:
1. Click the link for the the ZIP file if you're using Windows or the SIT file if you're using a Mac.
2. Save the file into a folder such as "downloads" or "My Documents" where you can find it again easily.
To install the files for use with MySQL:
1. Place the two zip files in the mysql\data
directory.
2. Unzip them.
You should have two subdirectories in your mysql\data
directory,
catalog
and employees
. Each subdirectory should have
several files.
3. Restart sql.
The databases will be available.
To install the files using the MySQL line command:
1. Unstuff/unzip the linens.sql
file. Place it in your home directory
(Mac OS X) or in the root directory of the C: drive (Windows).
2. Launch the Terminal application (Mac OS X) or open the DOS prompt (Windows).
3. Start mysql by typing mysql
.
4. Create a new database by typing create database linens
.
5. Execute the SQL commands in the linens.sql
file by typing <code>source
linens.sql
</code>. This will create the sample tables and insert
the sample data.
To make Dreamweaver aware of your database:
* See p. 22 in the book.