Bug #65710 MySQL Server 5.5.25-winx64 install fails: error Nr. 1045
Submitted: 22 Jun 2012 13:24 Modified: 4 Oct 2012 20:55
Reporter: Lucas Layman Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Config Wizard Severity:S1 (Critical)
Version:5.5.25 OS:Windows (Windows 2008 R2 Standard SP1 64bit)
Assigned to: CPU Architecture:Any

[22 Jun 2012 13:24] Lucas Layman
Description:
Hi, 

I am re-installing mysql on a Windows 2008 R2 Standard SP1 64bit. 

I completely deleted my previous MySQL installation folders. I used all the default installation settings except for changing to port to 3366 and adding an administrator password. Port 3366 already has a Windows firewall exception and I have used this port with success previously on this machine. 

The error occurs on the Instance Configuration Wizard when executing the configuration. Prepare configuration, Write configuration file, and Start service pass. The installation fails on the "Apply security settings" step. Here is the error: 

"The security settings could not be applied to the database because the connection has failed with the following error. 

Error Nr. 1045 
Access denied for user 'root'@'localhost' (using password: NO) 

If a personal firewall is running on your machine, please make sure that you have opened the TCP port 3366 connections. Otherwise no client application can connect to the server. After you have opened the port please press [Retry] to apply the security settings. 

If you are re-installing after you just uninstalled the MySQL server please note that the data directory was not removed automatically. Therefore the old password from your last installations is still needed to connect to the server. In this case please select skip now and re-run the Configuration Wizard from the start menu." 

Maybe it is worth noting the "using password: NO" text. I definitely configured a password.

How to repeat:
For me, I simply run the installer with default settings and the errors occur.
[24 Jun 2012 18:02] Valeriy Kravchuk
Is it a fresh install or you had used some older 5.5.x version on this machine?
[25 Jun 2012 13:35] Lucas Layman
Yes, we had used an older 5.5.x version (I don't recall the number).  Yes, I did delete the old installation directory.
[4 Sep 2012 20:55] MySQL Verification Team
Please try version 5.5.27. Thanks.
[5 Oct 2012 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".