mysql error

message from server: "Host '114.242.17.65' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"

 

Such an error occurs because the maximum number of incorrect connections of mysql is blocked due to too many errors in connecting to the database with the same ip;

Simple and effective method:

Use: mysql -u root -p to enter mysql;

Then execute flush hosts; //The maximum number of errors connected to clean up zero;

Then you can connect;

 

It is said that there is a second method: restart the mysql service, I have not tried it

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326049334&siteId=291194637