Installing MySQL and checking root password fails?

I too faced the same issue but the following worked for me: Go to Control Panel >> Programs >> Programs and Features, select MySQL Server and click Uninstall. Also uninstall the MySQL workbench, MySQL Installer Community, MySQL Router. Then delete the files:

C:\Program Files\MySQL
C:\Program Files (x86)\MySQL
C:\ProgramData\MySQL
C:\Users\[User-Name]\AppData\Roaming\MySQL

Finally restart your system and install MySQL again.


After uninstallation process, please check following directories if it exists and remove:

  • C:\Program Files\MySQL
  • C:\Program Files (x86)\MySQL
  • C:\ProgramData\MySQL
  • C:\Users[User-Name]\AppData\Roaming\MySQL

PS: Please keep in mind that If you have multiple MySql Instances installed on your workstation, you need to go into each directory and delete only the relevant instance.