07.04.2016 - You can make a table to store number of login attempt from a specific IP address. The table structure can be like this, CREATE TABLE .