Installing MySQL on Vista

Posted by John
on Sunday, 30 March 2008

Easy it aint, kept getting this...

The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail.

But here's how to fix it,

Get MySQL

First download MySQL

Install MySQL

Now unzip the executable and install it, when it's finished and asking you if you want to run the configuration tool, don't; we'll deal with this in a minute.

Install Resource Hacker

Now to fix the MySQL Instance Configuration Tool, so it will install the MySQL service in Vista, download Resource Hacker...

Unzip it and open it's folder, then Right-Click on ResourceHacker and Run as Administrator.

Edit Resources

Now using Resource Hacker open the file...

  • C:\Program Files\MySQL\MySQL Server 5.0\bin\MySQLInstanceConfig.exe

Navigate to 24 / 1 / 1033 and look at the config on the left. On line 6 you should see asAdministrator, change this to requireAdministrator then click Compile Script; then finally Save the file.

Run MySQL Instance Config

Finally run the MySQL Instance Configuration tool from within...

  • C:\Program Files\MySQL\MySQL Server 5.0\bin\MySQLInstanceConfig.exe

This should now be able to create the system service and finally give you MySQL running on Windows Vista.

Comments
  1. ucabuoj@ucl.ac.ukTuesday, 01 April 2008
    Took all the recommended steps but got this message at the end at the 'Start Service' stage : " Could not connect to the Service Control Manager. Error:0" What could be the reason? THanks!
  2. JohnSaturday, 05 April 2008
    This may be the answer... it's because you are not running the "MySQL System Tray Monitor" as a administrator. I am too lazy to wipe up the Windows Vista Home Premium and install a more complete Vista version, and sometimes I spend time with these problems that happen due to the User Access Control. http://yettocome.blogspot.com/2008/03/mysql-and-service-control-manager.html
  3. MikeFriday, 18 April 2008
    You just saved me loads of time...thanks for this!
  4. ProFriday, 18 April 2008
    N1ce tut!
  5. gelderSaturday, 19 April 2008
    thanks!!!!!!!!!
  6. newbieMonday, 21 April 2008
    thanks very much!!!
  7. ederTuesday, 22 April 2008
    nice :D es funktioniert - ty !!!
  8. kerseyWednesday, 23 April 2008
    thx a lot... u saved my day!
  9. PhilThursday, 24 April 2008
    Fantastic! Would probably have manually removed my own hair before figuring out what to do!!!!!
  10. brianMonday, 28 April 2008
    You saved my butt with this, thx!!
  11. Kevin D MurphyTuesday, 06 May 2008
    Freaking awesome..something that worked!!
  12. kukudasTuesday, 06 May 2008
    thx bro helped me alot
  13. PeterTuesday, 06 May 2008
    Hey, what can I say? You are a star. Good Work.
  14. praveenMonday, 19 May 2008
    Thats awesome dude......fantastic..really appreciate it
  15. ElucasThursday, 02 October 2008
    Yihaa... u are awesome! thx. I will Save your name to my memory ^^x

Leave a response

Comment