Support » Fixing WordPress » ERROR: Invalid username. Lost your password

Viewing 7 replies - 1 through 7 (of 7 total)
  • This is a local install, so it is installed only on your computer and we can not see it. It also would not have anything to do with wordpress.org needing to email you an account.

    1. Did you use ServerPress or anything to help you get it set up?
    2. Did you mean to install it on your computer or on a server online?
    3. Do you have access to the DB?

    Hi, thanks for responding. I used MAMP. I used these instructions: https://skillcrush.com/2015/04/14/install-wordpress-mac/
    I have no issues, but I get stuck just before Step 10. I can’t log in. So I can’t get to the Dashboard. I understand now that the login I’m using for the forum site is something separate.
    Thanks for your help!

    So you do not remember what you used for the username and password on step 9? or they do not work?

    If you can get into the DB you can reset the admin name and password there and then log in.

    Here is the codex article on it
    https://codex.wordpress.org/Resetting_Your_Password

    So, yes, I do have records of all my passwords that I created in phpMyAdmin as well as the one I created just before the WP “install”. I assume that is the same user name and password that should have been created in the wp_users table.

    I looked at a number of ways to reset my password with the link you sent but it appears that I don’t have a username or password. At least not in the wp_users table in my DB. Which makes sense, because that’s what the error message has been saying. So how can I create one?

    Thanks again for your help!

    So, yes, I do have records of all my passwords that I created in phpMyAdmin as well as the one I created just before the WP “install”. I assume that is the same user name and password that should have been created in the wp_users table.

    I looked at a number of ways to reset my password with the link you sent but it appears that I don’t have a username or password. At least not in the wp_users table in my DB. So how can I create one?

    Thanks again for your help!

    If you have phpAdmin for your DB then then you can create a new user like this
    These instruction with images can be found in the article I pasted before
    https://codex.wordpress.org/Resetting_Your_Password

    Instead of editing a user just create a new one. and then follow the rest of the directions regarding the password etc.

    Through phpMyAdmin
    This article is for those who have phpMyAdmin access to their database. Note: use phpMyAdmin at your own risk. If you doubt your ability to use it, seek further advice. WordPress is not responsible for loss of data.

    1. Begin by logging into phpMyAdmin and clicking databases.
    2. A list of databases will appear. Click your WordPress database.
    3. All the tables in your database will appear. If not, click Structure.
    4. Look for wp_users in the Table column.
    5. Click on the icon for browse.
    6. Locate your Username under user_login
    7. Click edit (may look like a pencil icon in some versions of phpMyAdmin)
    8. Your user_id will be shown, click on Edit
    9. Next to the user_pass is a long list of numbers and letters.
    10. Select and delete these and type in your new password.
    11. Type in the password you want to use. Just type it in normally, but remember, it is case-sensitive.
    12. In this example, the new password will be ‘rabbitseatcarrots’
    13. Once you have done that, click the dropdown menu indicated, and select MD5 from the menu.
    14. Check that your password is actually correct, and that MD5 is in the box.
    15. Click the ‘Go’ button to the bottom right.
    16. Test the new password on the login screen. If it doesn’t work, check that you’ve followed these instructions exactly.

    Running into the exact same issue. Every time I try to do the 5 minute install, setting up database goes fine, but when I get to the login info page it gets held up.

    When I check out the database, it seems no users have been created at all. Have tried this multiple times with different sites, logins, db etc.

    I’ve successfully followed the instructions on SkillCrush before ( https://skillcrush.com/2015/04/14/install-wordpress-mac/) with no problems to setup a local MAMP db and WP site.

    Suspecting there’s some compatibility issue with the new version of WordPress. Is there something in the instructions that’s no longer valid? Ideally would like to get back to a smooth 5 minute local install.

    If not, what to do to troubleshoot? Tried inserting new users through phpAdmin to no avail. (http://www.wpbeginner.com/wp-tutorials/how-to-add-an-admin-user-to-the-wordpress-database-via-mysql/). Wondering if other things are corrupted as well.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘ERROR: Invalid username. Lost your password’ is closed to new replies.