Resetting Admin Password: An Easy Way
I found this wordpress hack at one of the blog on internet. This hack is published by Salman Namah.
This trick works as follows:
1) Download the file from here.
2) Upload the file at where your wordpress is installed, i.e. outside your wp-admin directory.
3) Access the URL: http://yourblog.com/reset_pass.php
4) You will be directly asked for the password. Enter the password and it will be reset.
However, I still do not recommend to use this method unless there is not other option (I am sorry Salman, just a security tip 🙂 )
You can read the complete article here.