If you have migrated your WordPress app, you might need to change your app's MySQL database password by following these steps.
First, open your app in ServerPilot and click Databases.
Next, click on the name of the database where you want change the database password. You'll see a form where you can set the new password.
Enter the new database password in the New Password field and click Update Password.
After you've set a new password, SFTP into your server and edit the wp-config.php file in your app's public folder.
apps/APPNAME/public/wp-config.php
Find the line with the DB_PASSWORD setting and change the value to the new password you just set.
Save the wp-config.php file.
Your WordPress app's database password is now updated.