#docker exec -it db \
mysql -u root;
SELECT wordpress;
UPDATE `wp_users` SET `user_pass` = MD5( 'correct horse battery staple' ) WHERE `wp_users`.`user_login` = "wp-admin";

omit the first line if not using docker

change "wordpress" to your db name, if different

change "wp-admin" as appropriate

etc

Leave a Reply

Your email address will not be published. Required fields are marked *

Warning: This site uses Akismet to filter spam. Until or unless I can find a suitable replacement anti-spam solution, this means that (per their indemnification document) all commenters' IP addresses will be sent to Automattic, Inc., who may choose to share such with 3rd parties.
If this is unacceptable to you, I highly recommend using an anonymous proxy or public Wi-Fi connection when commenting.