Ajax software
Free javascripts
↑
Main Page
11
Chapter 1: You: Programmer and Search Engine Marketer
Figure 1-6
Preparing the Database
The final step is to create a new MySQL database. You’re creating a database named
seophp
that you
will use for the exercises contained in this book. You’ll also create a user named
seouser
, with the
password
seomaster
, which will have full privileges to the
seophp
database.
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:
1.
Load a Windows Command Prompt window by going to Start
?
Run and executing
cmd.exe
.
In Windows Vista, you can type cmd or Command Prompt in the search box of the Start menu.
2.
Change your current directory to the
bin
folder of your MySQL installation. With the default
XAMPP installation, that folder is
\Program Files\xampp\mysql\bin
. Change the directory
using the following command:
cd \Program Files\xampp\mysql\bin
c01.qxd:c01 10:38 11
Ajax software
Free javascripts
→