

not sure why this was downvoted, as it works.

You will now need to change the “ user_pass” field with your new password (in normal strings like those shown in the image above) and select the MD5 algorithm from the drop-down list and click on the “ Go” button. just edit wpuser table with your phpmyadmin, and choose MD5 on Function field then input your new password, save it (go button). Access WP Reset admin page via the Tools menu. It will open a form with all the details filled automatically, as shown in the screenshot below. You will now see the list of tables in your WordPress database. This will launch the phpMyAdmin app where you need to select your WordPress database. Next, you need to navigate to the Databases section where you can click on the phpMyAdmin icon. Once you’re inside of “ wp_users” table, browse the username for which you want to reset the password and then click on the “ Edit” button. First, you need to log in to the cPanel dashboard of your WordPress hosting account. Now you will have to look for a field named “ user_pass” (it is usually after the 3rd or 4th field in the table). Now click on the “ Browse” button to see all the fields, as shown in the screenshot above.
#WORDPRESS RESET PASSWORD FROM DATABASE HOW TO#
How to Reset WordPress Password Using phpMyAdmin Why You Might Need to Reset WordPress Password Changing any of your passwords shouldn’t be a big deal. If you’ve gotten locked out of your WordPress instance, you can always reset your password by manually editing the table that it uses to store passwords in, provided you have access to the MySQL database. How to Change WordPress Password Through the Dashboard 3. Once you have chosen the right database, you will have to look for a table named “ wp_users” (or something similar to that, since it may vary by host and we sometimes change the table prefix manually during installation but it will always conclude with the word “ users“). How to Reset Your WordPress Password Through the Login Screen 2. For example, in my database, the name is “ sunny_thewpx“, so I would like to open that database by clicking on the name. This will bring up the SQL database where your websites’ databases are stored and then you will have to choose the database which belongs to the website you’re going to edit. You should see a table with one entry per user on your WordPress site. Once you’ve found your database, select the wpusers (it may have a different prefix than wp) table and click on Browse.

You need to view the tables for this database. From the left side click on the database used by the WordPress installation that you want to reset the password for. Having access to the wp-config.php contents is already a breach of security in progress. Look for a database which has the same name as DBNAME. Log into your site with your new password. Upload the modified file back to your site.

The 1 represents the user ID number in the wpusers table in your MySQL database. WordPress must have access to your DB password in plain text. Replace password in the parentheses with your new admin password. To get started, you will need to log into your cPanel account (or whatever platform you are using for your website) and then select the “ phpMyAdmin” option, as shown in the screenshot above. 3 Answers Sorted by: 2 This is technically challenging. Here I’m sharing a quick way to do so – but before doing this, I highly recommend taking a backup of your SQL database using the method shared here Open “phpMyAdmin” from cPanel In the Edit User screen, scroll down to the New Password section and click the Generate Password button. In case you forget your password, the only way to regain access is by changing the password and saving the password in the MD5 encryption algorithm. Click on your username in the list to edit it. How to Reset Password in WordPress Database?Īs I mentioned above, all the passwords get stored in your SQL database in a table with the name “ wp_users” with proper encryption. The only way to reset your password and regain access to your website is by changing the user’s password hash in wpusers and setting a new password using the MD5 algorithm.
