Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am tuning MySQL and watch the max_connect_error problem. I want to log hosts blocked by mysql before executing 'FLUSH HOSTS'. Someone can help me, where to get the blocking information?

Is it possible?

share|improve this question
up vote 1 down vote accepted

Sorry i didn't had such problem, but did you have a look in the mysql error file?

mysql> show variables like 'log_error';
| Variable_name | Value                    |
| log_error     | /var/log/mysql/error.log |

I guess this is where it should be logged.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.