Installing MySQL Server On Winsows Vista

By Prasanna LM | Nov 22, 2008


The installation of MySQL Server 5.0 on Windows Vista is not straightforward as it requires a bit of tweaking to successfully start running the server. I don’t know why still there is no fix for this problem from the MySQL team at Sun Microsystems. I hope they will patch up this issue in their upcoming release (5.1). I have spent a fairly good amount of time to find a work around for this problem & have been successful with my stab after quite a bit of research on the net.

Following are the 8 steps that I followed to Install MySQL 5.0 on my Vista Machine

1) Turn off the User Account Control (UAC) feature from Control Panel -> User Accounts.

2) Download & Install the MySQL SetUp.EXE & in the final step when the configuration wizard pop’s up, uncheck the ‘configure’ check box & click on finish.

3) Download the Resource Hacker software from here. Resource Hacker is a free software to view & modify the 32 bit windows executables & resource files.

4) Open the ‘MySQL Server 5.0\bin\MySQLInstanceConfig.exe’ using Resource Hacker.

5) Traverse to 24\1\1033 & add the following statement inside the <dependentAssembly> XML element.

<requestedExecutionLevel level=”requireAdministrator” uiAccess=”false”>

If there is already a ‘requestedExecutionLevel‘ element with level=”asAdministrator”, just replace the “asAdministrator” with “requireAdministrator“.

6) Click on Compile Script & close the Resource Hacker.

7) Now, go to Control Panel ->Windows Firewall -> Allow a Program through a Windows Firewall & add a TCP port 3306.

8) Now start the ‘MySQL Server Instance Config Wizard’ & configure the server.

By this time the server should be up & running without any errors.


About the author

Prasanna LM is a programmer & a tech enthusiast working from Bangalore, India. He is a Sun Certified Java Programmer & he is passionate about developing software's using Java & JEE related technologies.

Share and Enjoy:
  • StumbleUpon
  • Facebook
  • TwitThis
  • Digg
  • Technorati
  • del.icio.us
  • LinkedIn
  • MySpace
  • Reddit
  • YahooMyWeb
  • Yahoo! Buzz

Related Posts

1 Comment so far
  1. Ajith Edassery | Blog Money March 31, 2009 7:40 pm

    On my vista laptop, I did not face any problem when I used the installation package. Wonder why

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

© 2010 TechSagar, Privacy Policy