MySQL - Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

MySQL - Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

Ошибка:

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1129] Host 'server.net' is blocked because of many connection errors;
 unblock with 'mysqladmin flush-hosts'


Решение:

# mysqladmin -u da_admin -p flush-hosts
Enter password:


и увеличить в my.cnf:

max_connect_errors=100