I would like to know if it is possible and how to do so that when a user wants to connect to my MySQL database there is a connection delay of 2-3 seconds for the next attempt if it is not well indicated user / password, in this way to hinder that someone wants to connect by brute force. I would also like to know if it is possible to make the time that I have started before (2-3 seconds) increase in some way every time there is a connection attempt erroreno. Example 1: User tries to connect, does it correctly, should enter immediately Example 2: User tries to connect, error in password, should wait 2 seconds for the next attempt, if this attempt is wrong, the next attempt should be spent 4 seconds, and so on until hit.
I have looked at the mysql settings and I do not see how to do it, I would appreciate it if you could indicate how to do it, thanks.