Resetting Drupal 7 administrator username and password

A few days back i forgot the administrator password to one of my projects on test server. Now, you must be thinking with all the security features Drupal has, it should be somewhat challenging to change the admin password. But it’s not! Here is a simple code to change the …