Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 4
Part 4 – Install MySQL 4.1
Run the MySQL Essentials Installation package setup.exe that downloaded in Part 1. Follow on screen instruction for the whole installation. Halfway into the installation, choose the installation path you want. Anywhere is fine, but recommended to install inside the Apache2 root level (i.e. C:\Server\mysql).
Then choose “Typical” for installation type. Installation is finished after that. Make sure Configure MySQL is clicked, so that once you click finished, MySQL Server Instance Configuration Wizard will be lauched.
For the MySQL Configuration Wizard:
- Choose Detailed Configuration.
- For Server Type, you may choose Developer Machine, Server Machine or Dedicated MySQL Machine depends on your configuration.
- For Database Usage, you may choose Multifunctional Database, Transactional Database Only or Non-Transactional Database Only depends on your configuration. Generally, Multifunctional Database works best.
- Leave InnoDB Tablespace Settings as default.
- Choose your desired concurrent connections to MySQL server. It’s possible to re-configure it when usage grows.
- Ensure TCP/IP Networking is enabled.
- Choose UTF8 as default character set, unless you’re certain that you’re using English or Western Europe languages only.
- Enable Install As Windows Service and Include BIN Directory in Windows PATH, so that you can call mysql executables anywhere from DOS Command Prompt.
- Key in the password for root user. Never enable the Anonymous Account, it’s less secure.
Press Execute to configure MySQL Server. Installation for MySQL is done.
MySQL creates two shortcuts in Start menu. MySQL Server Instance Config Wizard enables you to re-configure or configure if you have’t done so, the MySQL Server. MySQL Command Line Client enable to login to MySQL and uses SQL to query it.
Testing MySQL Server
Login to MySQL Command Line Client with the root password that used during the installation. After that try to run a simple query (use mysql; or show databases; etc). If it returns valid results, then installation is successful.
Related Articles
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 1
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 2
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 3
- Using phpMyAdmin for Effective MySQL Management in Windows XP
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5
- Install, Setup and Configure CGI and Perl in Windows XP
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4
- Subversion (SVN) Issues and Problems on mod_dav_svn in FreeBSD
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4
- MySpace Blocked? Unblock MySpace and Bypass with Proxy Access










































April 11th, 2008 14:45
It is one of things I can never understand … how people can think that way. It’s so illogical that it can only be based upon moronity.
February 25th, 2008 23:32
ok I try to make a sight log into the SQL database, and I get an error that tells my I do not have the module loaded.. I rechecked this info with your site many times and con not find out what I did wrong.. Please if someone knows reply via e-mail to admin@mysticcorp.com
August 25th, 2007 14:28
This tutorial was really easy, I’ve done this installation in the past but it wasn’t as easier as this one. Thanks
June 20th, 2007 02:25
An error has occurred during installation :
The PHP configuration on your server doesn’t support the database type that you chose
what is this?? I followed every steps carefully…but finally i got this message when i hit the start install button..
please help me..
June 12th, 2007 01:36
That “Ensure TCP/IP Networking is enabled.” step is key–neglect disable it at the peril of getting Error 2017 (failed security settings setup) at the execute phase of the installation!
February 14th, 2007 08:56
Good tutorial… a fast alternative method is
to try VertigoServ … all-in-one package. http://vertrigo.sourceforge.net/
June 9th, 2006 01:30
i installed xampp. how to enable inndb in it? regards.
April 23rd, 2006 14:28
thanks dear.