In this tutorial i will show you that how can recover lost password of wordpress on localhost xampp or wamp server? Just follow the following steps:
1- Open your localhost server phpMyAdmin Page.
2- Open database of your wordpress.
3- Click on wp_users table.
4- Click on that Edit Button (On that user which you want to recover the lost password).
5- Select MD5 from list of Function in user_pass row.
6- Type your new password into Value Column in user_pass row.
I hope this tutorial useful for you, and by following above steps you will be easily recover lost password of wordpress on localhost xampp or wamp server.