Install WAMP (Windows-Apache-MySQL-PHP) with ZIP packages – (5)

The article is one of a series articles, for more information, please have a look at: Install WAMP (Windows-Apache-MySQL-PHP) with ZIP packages – (1)

phpMyAdmin & WordPress

phpMyAdmin

1. Download and extract

Extract phpMyAdmin-3.4.9-all-languages.zip to D:\Tools\Apache\htdocs\phpMyAdmin

2. Login

Open http://localhost/phpmyadmin/, and login with root and its password.

3. Create user and password for wordpress

Skipped.

I’ll show you how to use command line to do such things:

mysql -h localhost -u root -p
CREATE USER 'username_here'@'localhost' IDENTIFIED BY 'password_here';
CREATE USER 'username_here'@'%' IDENTIFIED BY 'password_here';
CREATE DATABASE database_name_here;
GRANT ALL PRIVILEGES ON database_name_here.* TO 'username_here'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON database_name_here.* TO 'username_here'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
QUIT

WordPress

1. Download and extract

Extract wordpress-3.3.zip to D:\Tools\Apache\htdocs\wordpress

2. Edit configuration file

Copy D:\Tools\Apache\htdocs\wordpress\wp-config-sample.php to D:\Tools\Apache\htdocs\wordpress\wp-config.php

Update ‘database_name_here’, ‘username_here’, and ‘password_here’ for wordpress database.

3. Configure

Open http://localhost/wordpress/ to continue.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s