• Resolved sthirunavu

    (@sthirunavu)


    Hi,
    The password for my admin account has been changed by someone. Wordfence gave me details that someone has changed my admin pwd from morraco. I could not change my admin password.
    When I try change through mail, it says wrong username (dexter) in stead of ‘admin’.
    What should be my next steps.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • My recommendation is to fix it directly from the database (if you have access):

    To recover lost or hacked WordPress password from PHPMyAdmin/MySQL, the Method 1 is editing and updating the wp_users table values to reset our lost WordPress password. The method is little longer but is also easy enough to follow without knowing technical things. 1) Head over to PHPMyAdmin using your cPanel (or the hosting panel that your hosting service supports). 2) Click WordPress database. 3) Navigate to and click the table wp_users. 4) Edit the row with your WordPress username. 5) Now, in the user_pass field, change the function to MD5 and enter your new password in the Value section. 6) Click “Go” or similar option at the bottom to update the table values. or the Method 2 1) Follow the first 3 steps of the above method. 2) Go to SQL or MySQL section in your PHPMyAdmin. 3) Now, enter the below given query:

    UPDATE wp_users SET user_pass= MD5(‘yourpassword’) WHERE user_login=’yourusername’;

    Congratulations, you have managed to fix it. In case you do NOT have access to the database, I recommend consulting with your Hosting Provider.

    Moderator t-p

    (@t-p)

    Also as described in this articlex, in WordPress, there is more than one way for Rsetting Your Password . Find the one that’s right for you and use that.

    Thread Starter sthirunavu

    (@sthirunavu)

    Ok. thank you. I solved it.

    Moderator t-p

    (@t-p)

    Glad to know it 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Admin account password is changed’ is closed to new replies.