Hook before DB connection is made

The problem with having a “hook” is that the add_action() function would not be defined that early so WordPress would have to be recoded so that the function is available much earlier.

Also to use an action hook you would need to add your code inside a theme or a plugin. WordPress must make database requests in order to load themes and plugins. So the code that hooks into this action would have to be added inside an MU plugin and again WordPress would need to be re-coded so that MU plugins load earlier.

I highly doubt WordPress would ever update to support this.

Bots, Brute Force attacks, DDoS…etc. This should all be managed server-side via your website’s firewall. Not via PHP.

techhipbettruvabetnorabahisbahis forumutaraftarium24eduseduedusedueduedusedueduedusedu