In the database there isn't any flood table, but I get this error message.

There have been more than 5 failed login attempts for this account. It is temporarily blocked.

What could not allow me to log in?

3 Answers 3


Drupal 8 still exited table flood. You can see here. Table flood created when use login failed. You can use the way in drupal 7. Simple

drush php-eval 'db_query("DELETE FROM `flood`");'

Full document.

  • You can also install the flood unblock module to manage this.
    – Duncanmoo
    Mar 21, 2018 at 7:41
  • If it is the primary user who is locked out and you do not have command line access you have to wait 1 hour before trying again if I have read correctly
    – Duncanmoo
    Mar 21, 2018 at 7:56
  • In Drupal 9 db_query has been removed. You can use drush sqlq "DELETE FROM flood".
    – Hodgekins
    May 27, 2021 at 15:20

You can use Flood Control Module.

Flood Control provides an interface for hidden flood control variables (e.g. login attempt limiters) and makes it possible for site administrators to remove IP addresses and user ID's from the flood table.


If you don't have a flood table, then you are not using Drupal's default flood control mechanism.

So the first step is to identify what mechanism you are on using. On Drupal SaaS like PlatformSH and Pantheon, it is common to use Redis. Redis can be configured to handle flood control instead of Drupal.

In such a case, you need to clear the Redis keystore. One way to do this is to use the redis-cli to connect to Redis and then delete all the keys with flushall. This assumes you are using Redis in an ephemeral configuration and do not need to keep the keys.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.