Chapter 1: You: Programmer and Search Engine Marketer
Preparing the Database
The final step is to create a new MySQL database. You’re creating a database named
will use for the exercises contained in this book. You’ll also create a user named
, with the
, which will have full privileges to the
You will be using this database only for the exercises in Chapter 11 and Chapter 14, so you can skip this
database installation for now if desired.
To prepare your database environment, follow these steps. Note that this exercise uses the MySQL
console application to send commands to the database server.
Follow these steps:
Load a Windows Command Prompt window by going to Start
Run and executing
In Windows Vista, you can type cmd or Command Prompt in the search box of the Start menu.
Change your current directory to the
folder of your MySQL installation. With the default
XAMPP installation, that folder is
. Change the directory
using the following command:
cd \Program Files\xampp\mysql\bin
c01.qxd:c01 10:38 11