Bug #39515 MySQL service could not start on Vista Ultimate
Submitted: 18 Sep 2008 9:59 Modified: 21 Sep 2008 8:04
Reporter: Paramjit Joshi Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Config Wizard Severity:S3 (Non-critical)
Version:mysql-5.1.26-rc-win32 OS:Windows (Vista Ultimate)
Assigned to: CPU Architecture:Any
Tags: configuration, MySQL serive start, vista

[18 Sep 2008 9:59] Paramjit Joshi
Description:
I have installed mysql-5.1.26-rc-win32 version on my vista ultimate and it was installed n configured corrected. I confirmed by started client. It asked to keep a root password and confirm password ,I kept a root password and confirmed. but i forget to tick the option to use server from command line.

So I uninstalled and then installed again .. I got installed and then started configuration wigard to configure instance. I gave everything defaul except changing the path of installation directory. I installed in f: directory this time. earlier in C:/. here when configuring for security form comes , it is asking me for Current root password, New root password , confirm new password.
As i have uninstalled it already then which current root password it is asking??? 
Then i gave my earlier root password which I kept when it was configured properly. alongwith the same password as new n confirmed.

when I hit the 'Exceute' button on the MySQL Server Instance Configuration screen it runs through 'Prepare configuration' and 'Write configuration file' OK but gives a red 'X' in the Start service button followed by the error message:
'Could not start the service MySQL.'

How to repeat:
Instal MySQL and configure it without marking tick in start from command line option where Path variable is set and keeep root password in configuration. then uninstal it . and now reinstal it .. it will ask for Current root password , even if you give previous password which u have uninstalled , it will not give error Could not Start the Servive MySQL when hit excute at end of configuration wizard.
[21 Sep 2008 8:04] Paramjit Joshi
Now I m able to configure MySQL with new installation. Actually the issue got solved as Vista was saving my previous configuration in hidden folder C:\ProgramData\MySQL\Data folder , and even after uninstalling the MySQL this folder does not get deleted and was creating the problem for configuration in next time installation. I removed this folder's content from here and then tried to configure again.....It got configured successfully :-)
[23 Apr 2010 2:51] battis putali
thanks! this solved my problem. wasted lot of time in unsuccessful installation.