If you need to update the password for a database user (for security reasons, or if the password has been compromised), you can do this directly from the Plesk interface.
Changing a Database User Password
- Log in to Plesk.
- Go to Databases.
- Click the database name the user is associated with.
- Go to the Users tab.
- Click the username of the user you want to modify.
- Enter the new password in the New password field.
- Click OK to save.
Important Notes
- After changing the password, you will need to update it in your application configuration file (e.g.,
wp-config.phpfor WordPress). - If your application cannot connect to the database after a password change, verify the configuration file has been updated.
Troubleshooting
Application shows "Error establishing a database connection" after password change:
- Update the database password in your application configuration file.
- Verify the username is correct.