jump to navigation

MySQL 5 Installation issue on Windows Vista December 27, 2008

Posted by ninadgawad in General, MySQL, Windows Vista.
trackback

I was trying to install MySQL 5.0.24 on my friends new Laptop. We where stuck at this error “The application has failed to start because its side-by-side configuration is incorrect.Please see the application event log for more detail” when we ran the MySQLInstanceConfig.exe file. After a bit of googling we found the solution.

Step1: Download the Resource Hacker tool from here.

Step2: Unzip the folder and execute the file “ResHacker.exe”. This open a window, Go to File > Open and browse to the Path of your “MySQLInstanceConfig.exe” file inside “<Drive>:\MySQL\MySQL Server 5.1\MySQLInstanceConfig.exe”. This will load an assembly file, on your left navigational tree section click on folder 24 > 1 > 1003. This opens an XML configuration file.

Step3: Edit this file by changing the privilege “asAdministrator” to “requireAdministrator”.  Click button on the top of window which states “Compile Script”. Now go to File > Save as.  Save the File with name “MySQLInstanceConfig.exe” on the desktop.

Close the Resource Hacker tool, copy the “MySQLInstanceConfig.exe” file from desktop and overwrite it on the exisiting file in “<Drive>:\MySQL\MySQL Server 5.1\bin” folder.

Double click on the exe and the instance installation will begin.

References:

  • http://www.weeklyworldwhatever.com/2008/02/21/cant-install-mysql-5051a-because-its-side-by-side-configuration-is-incorrect/#comment-50
  • MySQL 5.1 Vista Bug

Downloads:

  • Download MySQL from here.
  • Check Windows Vista here.

Comments»

1. Anonymous Coward - April 1, 2009

Hi
Just to let you know:

I just stumbled upon a similar problem with MySQL 5.1 and Windows Vista 64 (the config software would freeze doing nothing).

However, contrary to your text, the privilege in the XML file was already “requireAdministrator”. I changed it to “asAdministrator” and it worked fine, with the exception that it could not install the Windows service.