Remembering the admin account credentials is a must for the developer in order to access the website and work upon it, But what if the client didn’t provided you the admin account credentials and you are about to start working on the site, the similar situation may arise if you need to work upon the site on which you had worked upon long time back, similarly there are many other such situations arises where you need to reset the password of admin account.
So, to overcome the above situations we can try one of the following method depending upon the scenario in which we are currently in:
1. Using Drush command:
drush user-password <USERNAME> --password=<PASSWORD>