You can change the root user password from the AppDynamics Administration Console page.
Note: If using the "Forgot Password" link, the emailed token will expire four hours after it is sent. The duration of this token is not configurable.
To change the root user password:
- In a browser, log in to the administration console as described in Access the Administration Console.
- Click the gear icon
and choose My Settings.
- Click Edit > Change Password.
- Type the new password for the root user in the New Password and Repeat New Password fields.
- Click Save.
To reset root user password:
If you have lost the AppDynamics root user password for your installation and need to reset it, follow these steps:
-
From the command line, change to the Controller's bin directory. For example, on Linux:
- Use the following script to log into the Controller database of the Controller;
- For Windows: controller.bat login-db
- For Linux: sh controller.sh login-db
You should see a MySQL prompt.
-
At the MySQL prompt, enter the following SQL command to get root user details:
-
Use the following SQL command to change the password:
The hash for the password will be upgraded to PBKDF2 when you log in.
For information on setting the database root user password, see Controller Data and Backups.
Relevant Links: