Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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.

Regards

share|improve this answer
add comment

Your Answer

 
discard

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.