Enjoying with your heart is the wealth

MySQL 5.0.51a Installation for Windows Vista

Posted by: Nuwan Sameera on: December 8, 2008

Since last week end I stared to learn Ruby and Rails. And I tried to work with RoR and MySQL as database. But RoR is not easy to support installation at Windows vista. To me this was a very big thing to configure RoR and MySQL.

Unfortunately RoR and MySQL will connect only 5.0.51a.
So I had to install mysql 5.0.51a.

Again I got a problem when installing MySQL 5.0.51a at vista. Error is “side-by-side configuration is incorrect“.

error
The problem is occur when you go to configure MySQL (Mysql Server Instance Config Wizard). There is a problem with the MySQLInstanceConfig.exe in Mysql 5.0.51a version.

This is the procedure which I did to overcome form this problem.

  • First install MySql 5.0.51a at vista
  • The best practice is disable the UAC currect account in Windows Control Panel->User Accounts.
  • As next step is just download and install Resource Hacker and run it.
  • Go through Resource Hacke and just open the file menu chooser. And browse to MySQL installation’s directory which locate bin. (C:\Program Files\MySQL\MySQL Server 5.0\bin) Now you can select MySQLInstanceConfig.exe
  • Navigate to 24 –> 1 –> 1033 in the tree that appears in the Resource Hacke view.
  • FindĀ  <requestedExecutionLevel level=”asAdministrator” uiAccess=”false”>
  • Change to <requestedExecutionLevel level=”requireAdministrator” uiAccess=”false”>
  • click”Compile script” button and leave Resource Hacker and save the result by overwriting the initial MySQLInstanceConfig.exe at your installation.

This is the normal way to fix this bug and should be work MySQLInstanceConfig.exe in correctly.

Leave a Reply