How to fix mariadb-admin flush-hosts / mysqladmin flush-hosts Issues?
Error : Host 'xxx.xxx.xxx.xxx' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' / 'mariadb-admin flush-hosts'
Root cause :
The issue occurs when the number of connection errors from a host exceeds the server variable:
- max_connect_errors
Step 1: Run the flush-hosts command in the Database server
For MariaDB:
mariadb-admin -u root -p flush-hosts
For MySQL:
mysqladmin -u root -p flush-hosts
New to ADSelfService Plus?