7 Windows Vista, XP, 2008, 2003, 2000, Windows on 5.1 MySQL Installing
Now we’re going to see how to install MySQL, a free database server.
MySQL comes in two flavors: Enterprise Edition and the MySQL Community Server. Of course, the Community Server is free and even most popular web hosts will use this version.
How To Install MySQL on Windows 2000, 2003, 2008, XP, Vista, Windows 7
Since MySQL 6 is still in alpha stage, we’re going to get MySQL 5.1
Head over to http://www.mysql.com and click on the Developer Zone tab at the top. Now click on Downloads and the on MySQL Community Server. Select version 5.1
This should have brought you here.
Now scroll down the page and click on Pick a mirror next to Windows ZIP/Setup.EXE (x86) in the Windows downloads section.
On the next page, you’re invited to register but click on the link at the bottom that says “No thanks, just take me to the downloads!”. Then simply select the mirror from which you want to download MySQL.
Once the download is complete, follow this procedure:
- Extract the content from the MySQL zip file and launch Setup.exe.
- Choose the Custom setup type and click Next.
- Select MySQL Server at the top of the list and click on the Change button to modify the server’s installation path. Set it to c:\MySQL (or on any drive you want as long as you install it at the root).
- Click on Next. The installation may take a few minutes depending on your computer’s performance.
- Click Next a couple of times until you see the screen with a checkbox that says “Configure the MySQL Server Now”. Check this box and click on Finish.
- When the MySQL Server Instance Configuration Wizard comes up, select the Detailed Configuration type and click Next.
- In my case, since I’m installing this as a development environment, I’m going to select Developer Machine but feel free to select the server type that suits your needs.
- As for the database usage parameter, select Multifunctional Database and hit Next.
- On the InnoDB Table Settings screen, set the path to the same folder you’ve set the MySQL Server path. Click on Next.
- Leave Decision Support (DSS)/OLAP selected by default on the next screen and hit Next.
- On the networking options screen, uncheck the box that says “Add firewall exception for this port” (otherwise you might get the installation error 1045). Add a firewall exception entry manually instead. Leave other options by default.
- On the next screen, choose Standard Character Set and click on Next.
- On the Windows Options screen, check all the boxes (yes, all three) and click on Next.
- When the security options screen comes up, check Modify Security Settings and choose a root password. Click Next.
- Finally, click on Execute to complete the MySQL configuration.
You should now have a working MySQL instance running as a system service!
To manage your database server, you might want to get the MySQL GUI Tools 5.0