Had an issue with code getting injected in this site (which is why I moved hosts and started over with just a wordpress export/import of the post)
At the same time I got locked out of my admin account. Because I was using a VPS I didn’t have a cpanel to reset the password, lucky I found Rayond’s post and was able to use WordPress Emergency Password Reset Script and get back into my site.
WordPress is a very popular and easy to use blogging platform, but if for whatever reason you forget the admin password or cannot login using what you think is the password, you cannot gain access to WP-ADMIN. Here we show you some ways to reset the WordPress admin password giving you access to your site.
Source: 5 Methods to Reset WordPress Admin User Password • Raymond.CC