• Hi all,

    Since yesterday, I’m unable to login to my wp-admin.

    I tried resetting my password, as i started doubting myself. Doesn’t work, tried many many times. Tried changing my password via php admin, doesn’t work, still not recognized and I’m sure it’s the right password! Yesterday i got blocked for 24 hours due to trying too many times and today it’s still not working.

    I e-mailed my host but they are not replying during the weekend, anyone who has an idea how i can solve this?

    Many many thanks in advance, i’m becoming a bit desperate by now!

Viewing 8 replies - 1 through 8 (of 8 total)
  • lisa

    (@contentiskey)

    what is the procedure you used to change the password via PHPmyAdmin?
    can you set up a new admin user in PHPmyAdmin?

    Thread Starter diyaata

    (@diyaata)

    Hiya,

    The link above is exactly what i followed and unfortunately it doesn’t work.

    How do I set up a new admin user and what would be the next step then?

    Thanks!

    The next step: Changing your password Using the Emergency Password Reset Script.
    This requires that you know your administrator username.

    If this does not work, then your only option is to contact your host to see if they can reset your username/password and send the reset to your email.

    Thread Starter diyaata

    (@diyaata)

    Thank you, I’m a bit scared to do this though as I’m not thát technical. I will wait for my host to come back to me tomorrow and if they cannot help me, i will have to give this a shot. Thanks again.

    This link shows you how to create a new admin through your database:
    Creating a new admin account via MySQL

    Make sure you copy all the code exactly.

    This assumes that your database table prefix is set to “wp_”.

    If you are using something different, then make sure to adjust your code accordingly.
    For example, if you are using “wptables_” instead of “wp_”, then the code
    “INSERT INTO wp_users
    would be
    “INSERT INTO wptables_users

    In the code they provide, you then have to change what is in ‘red’ (…on the actual page I’ve linked is the red colour) in this code:
    VALUES ('newadmin', MD5('pass123'), 'firstname lastname', '[email protected]', '0');

    =======

    newadmin – this you change to the new username (do not use “admin”)
    pass123 – this you change to the new password
    firstname – this will be what it says, a first name
    lastname – this will be what it says, a last name
    [email protected] – this will be an email, but do not use the email you already have for the site or for your present admin

    =========

    Once the database updates, you can go to your wordpress login as normal and use the new admin login information to gain access.

    Reset the password for your old account and write down its username and password somewhere.
    Log out from the new admin and log in with your now-changed old one to see if it works.
    If it does, then you have the choice of either keeping both (a good fail-safe), deleting the new one, or deleting the new one.

    Thanks NeoTechnomad for this link which helped me with this problem. I tried many solutions before this which did not work — I used the reset function many times, disabled all plugins, reset several times through phpMyAdmin, tried the emergency script, replaced the user with a known good copy from another database, and each time the process appeared to work, but the password was always rejected.
    At this point I suspect some corruption of the wp-users and/or wp-usermeta table is involved. Nothing whatsoever can be done with the old admin user to make it function, but the new admin user is working fine.

    Neotechnomad,

    Thank you for posting this! This was a perfect solution.

    I had restored a broken database on my wife’s WAMP server on her laptop after six months of trial and error, only to find I couldn’t log into the dashboard! I had tried resetting passwords in PHPMyAdmin but had no luck getting them to work. This got us in!

    My wife is extremely happy that her seven years of post archives can now be retrieved again. You made our long ordeal come to a complete and happy resolution.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Password not recognized’ is closed to new replies.