Resetting theSnapCenter repository password

The MySQL Server repository database password is automatically generated during SnapCenter Server installation from SnapCenter 4.2. This automatically generated password is not known to SnapCenter user at any point. If you want to access the repository database, you should reset the password.

Before you begin

You should have the SnapCenter administrator privileges to reset the password.


  1. Launch PowerShell.
  2. From the command prompt, enter the following command, and then provide the credentials to connect to the SnapCenter Server: Open-SMConnection
  3. Reset the repository password: Set-SmRepositoryPassword

    The information regarding the parameters that can be used with the cmdlet and their descriptions can be obtained by runningGet-Help command_name. Alternatively, you can also refer to the Cmdlet Reference Guide.

    SnapCenter Software 4.2 Windows Cmdlet Reference Guide


The following command resets the repository password:

Set-SmRepositoryPassword at command pipeline position 1
Supply values for the following parameters:
NewPassword: ********
ConfirmPassword: ********
Successfully updated the MySQL server password.