You can make changes to your database through SSH, which you can use update your WordPress password.
Warning: The information in this article is advanced material we make available as a courtesy. Please be advised that you are responsible for properly following the procedures below. Customer Support can't assist with these topics.
Connect to MySQL using the following command:
mysql -u username -h host database -P port -p
Enter the database information from your database as follows:
mysql> use database
mysql> show tables;
mysql> SELECT * FROM table;
mysql> UPDATE table SET user_pass = MD5('password') WHERE ID = id;
You can now login with your new password
Article ID: 1248
Created On: Tue, Nov 17, 2020 at 7:36 PM
Last Updated On: Wed, Nov 18, 2020 at 10:01 PM
Online URL: https://www.heartinternet.uk/support/article/change-a-wordpress-password-with-ssh.html