An error message is reported when logging in to navicat. Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

Reason: The same IP generates too many interrupted database connections (exceeding the maximum value of mysql database max_connection_errors) in a short period of time, causing blocking;

Solution 1:

1. Log in to the linux server installed by mysql

2. Log in to the mysql console,

Enter ./mysql -uroot -p

Enter mysql password:

3. After successfully logging in to the mysql console, enter the command:

flush hosts;

Solution 2:

        Modify the number of database max_connection_errors settings

Guess you like

Origin blog.csdn.net/qq_33767353/article/details/123680841