MySQL hosts cache: whitelist IP

hostsMySQLwhitelist

Is there a way to whitelist an IP address, so that max_connect_errors doesn't apply?

The IP address for my office was blocked today due to too many connection errors to our new development MySQL server. I had to FLUSH HOSTS to allow connections again.

Is there a way that I can just whitelist our IP address, so that the max_connect_errors can still stay in effect for all other connections?

Best Answer

No, there is no way of doing that, max_connect_errors is a global setting, not a per user/session variable.