You can clear the local MySQL host using the following command:
mysqladmin -u [username] -p flush-hosts **** [MySQL password]
or
mysqladmin flush-hosts -u [username] -p **** [MySQL password]
Although the Amazon RDS database server is connected to the network, use the following command, for example, as the MySQL flash network server:
mysqladmin -h <RDS ENDPOINT URL> -P <PORT> -u <USER> -p flush-hosts mysqladmin -h [YOUR RDS END POINT URL] -P 3306 -u [DB USER] -p flush-hosts
In an additional sentence, you can permanently solve the problem of blocking many connection problems by editing the file my.ini [Mysql configuration file]
change variables max_connections = 10000;
or
enter MySQL using the command line -
mysql -u [username] -p **** [MySQL password]
enter the command below into the MySQL window
SET GLOBAL max_connect_errors=10000; set global max_connections = 200;
authenticate using command
show variables like "max_connections"; show variables like "max_connect_errors";
Syeful Islam Jan 18 '16 at 8:55 2016-01-18 08:55
source share