When setting up new versions of live sites on your local machine, it’s easiest to migrate the entire database and dump it into your new install. We love using WP Migrate DB for this task.
For local sites though, I like to have a very basic admin / password configured… Literally “admin” and “password”.
In the past, I’ve always maintained local versions “wp_users” and “wp_usermeta” for simple sites, however this can cause some odd access issues when working with existing sites. For me, the simplest thing to do is to completely overwrite the local database with the files from WP Migrate DB and then modify the user in Sequel Pro.
Here is the quick SQL query for modifying the “user_pass” for this user:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|SET user_pass= MD5('password')|
|WHERE ID = 1|