#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 *