Internet Marketing Blog

How To Change Lost WordPress Password with cPanel

Unfortunately lost passwords happen. Worry not though, changing your WordPress password with your cPanel login is pretty painless, here’s how we do it:

  1. Your password will be encrypted with md5, therefore you will not be able to recover it, but you will be able to change it to something new. First, visit this website for md5 hash generator and acquire a new string for your new password.
  2. md5 encryption field

  3. In the empty field, add in the new password that you would like, and the string will be immediately populated below. Keep this page open or keep a reference of that string, as you will need to use it later.
  4. Login to your CPanel account and click the phpMyAdmin section
  5. cpanel php myadmin

  6. Select the appropriate database associated with your website. *If there are multiple databases listed and you are unsure, click here to learn how to see which database to select.
  7. Click ‘Edit’ next to the user that you would like to update the password
  8. wp_user clickIn the user_pass field, remove the old password string and replace it with the new one and hit ‘Go’ at the bottom to make the change

    Change DB password and updateGo back to your login screen and use your new password :)

How to see which database you need to update

  1. Go back main account page in the cPanel
  2. Click on ‘File Manager.’ You will be prompted with message on where you want to go, click Home Directory
  3. cpanel file manager
    file manager promptIn the file manager, get to the main folder of your files by clicking public_html

    file manager

  4. Locate the wp-config file, right click, and hit view
  5. view files

  6. In the wp-config file, locate DB_Name, this is your database listed name that you will use
  7. DB name

  8. Go back to step 4 to complete the process