Tech Corner
There are a few different ways to reset a WordPress database password, but one common method is to use phpMyAdmin:
- Log in to your hosting account’s control(Cpannel) panel and locate the phpMyAdmin tool.
- MySqldatabases
3. Scrool Down to users section.
4. Select the database you want to reset the password for”
5. In the “Change Password” section, enter a new password and click “Go.”
6. Open your wp-config.php file which located in your WordPress root directory using FTP client or file manager.
Update the database password in the following line,
define('DB_PASSWORD', 'your_new_password');
- Save the changes and upload the file back to the server.
- Log in to your WordPress site using your new database password.
It is important to note that before following these steps, you should have a backup of your database and website.