Updating A WordPress User Password – MySQL

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:

Exit mobile version