I cannot log in, and I am said I have 5 failed logins I've setup a virtual host on one of my machines. The front page shows fine, but the other pages don't. When I put in my login information, and I click the "Log in" button, I get the "page not found" error.

If I go to www.example.com/?q=user, I get that page, but when I try logging in, I see the following error message:


  Sorry, there have been more than 5 failed login attempts for this account. It is temporarily blocked. Try again later or request a new password."


How can I solve this problem?
The quick solution is to login in your database
mysql -u &lt;username&gt; -p&lt;password&gt; or drush sql-cli

and execute this query

truncate flood;

Thats it and you'll able to login again.