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.www.ads-software.com/Resetting_Your_Password
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!
]]>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!
]]>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.
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. (https://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!
]]>