Install & Configure Apache, PHP, JSP, Ruby on Rails, MySQL, PHPMyAdmin & WordPress on Windows XP/2000
Install MySQL
Prerequisites
On the MySQL download page, click on "Pick a mirror" for the latest Windows (x86) version (40.0MB). Registering is optional. Scroll down and select a mirror to start downloading.
Version: 5.0.24a
File Name: mysql-5.0.24a-win32.zip
Download Location: http://dev.mysql.com/downloads/mysql/
Note: If you plan on installing phpBB, I recommend using MySQL 4.1. There's a thread on the phpBB forum about installing with MySQL 5.0.x (Thanks to John H. for pointing it out).
Install
- Run setup.exe from mysql-5.0.24a-win32.zip.
- Click Next >.

- Select "Typical", and then click Next >.

- Click Install.

- Select "Skip Sign-Up", and then click Next >.

- Leave "Configure the MySQL Server now" option checked. Click Finish.

- Click Next >.

- Select "Standard Configuration", and then click Next >.

- Leave "Install As Windows Service" checked.
Also check "Include Bin Directory in Windows PATH", and then click Next >.

- Enter a root password. Make sure to remember this password. Click Next >.

- Click Execute.

- Click Finish.

Test
- Open a command prompt & type in the following command.
mysqlshow -u root -pEnter the password you supplied earlier. You should see something like the following:
