Update a database user's password for security purposes or if the current password has been compromised.
Steps
-
Navigate to your website management page.
[screenshot: website management page]
-
On the Home tab, click the Databases card.
[screenshot: databases card]
-
In the Databases drawer, go to the Database Users section.
[screenshot: database users section]
-
Find the user whose password you want to change and click on their name or click Edit.
[screenshot: edit button next to database user]
-
Locate the Database Password field and enter a new password, or click the generate button to create a random one.
[screenshot: password field with generate button]
-
Click Save to update the password.
[screenshot: save button]
Tip: After changing a database user's password, update the credentials in your application's configuration file (e.g.,
wp-config.php, .env, or config.php) to avoid connection errors.