Drupal 7 How to clear login cache after changing admin password

To people who are looking for way to login to drupal 7 after changing password of admin account with the following command:

php scripts\password-hash.sh <some password text>

Please login to your DB and find a table called:

<prefix>_flood

and clear all the records inside.  You can refer to this post and under the section "Clear flood table" to find the description.

I tested it and it works!

Another way to do it is to repair <prefix>_session table, coming from this post.

Haven't tried that, and use it at your own risk.

Hope that helps someone.

Comments

Popular posts from this blog

TCPDF How to show/display Chinese Character?

Wordpress Load balancing: 2 web servers 1 MySQL without any Cloud services

Using wget bypass htaccess username password 401 authorization