Problem with WP database and localhost

I’m having a problem with the database and my localhost at WP. I don’t know if the database crashed or something similar happened but it says that my password is incorrect. Why is this happening? What could be the reasons?

Is there is any issue with the website?
Maybe you have forgotten your password. You may change your password in your WordPress database manually.

You can follow a delayed step to do that in the following blog post.
How to Reset a WordPress Password from phpMyAdmin