SnapCenter installation fails to create DB with the error Invalid username/password, please try again

Description

After uninstalling SnapCenter and initiating a fresh installation, the installation fails because a hidden MySQL folder exists.

Error message

The SnapCenter installer displays the following message: Invalid username/password, please try again, and the installation log displays the message
CreateDB: Invalid username/password, please try again
CreateDB: ERROR exception: Access denied for user

Corrective action

  1. Find and remove the MySQL folder from C:\ProgramData.
  2. Run the SnapCenter installer again.