If WordPress can't connect after a change, the database password may be out of sync.
- In cPanel, go to Databases > MySQL Databases.
- Under MySQL Users, find your database user and click Change Password.
- Set a new password.
- Update the same password in your site's wp-config.php (article 126) so they match.
Note: "Database password" (the MySQL user's password) is different from your WordPress login password (article 89). To change a user's WordPress login, edit the wp_users table in phpMyAdmin or use the dashboard.
