1 Answer
- Newest
- Most votes
- Most comments
0
If a specific host receives too many connection errors before a successful connection is established, then the host will be prevented from attempting to connect. This is a security feature by the MySQL engine to prevent unwanted connections from attempting to connect to the database. The default value is 100 and can be tuned to your security requirements and environment.
Resolution
-
Increase the max_connect_errors value suitable to your use-case. Please see[1] , (Please use customer parameter group to modify the parameter)
-
Unblock hosts using ‘flush hosts;’ command by using below command [Use EC2 to run the following command] mysqladmin -h <RDS_ENDPOINT_URL> -P <PORT> -u <USER> -p flush-hosts.
-
Reboot the instance
Relevant content
- asked a year ago
- asked 2 years ago