Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

We have our mysql servers behind a load balancer which is masking the original IP address.

Is there any way we can log the connection requests in MySQL?

There is either a misconfigured app somewhere that is triggering authentication requests. Increasing the max_connect_errors would be a hack... its better to find the incorrectly coded page.


share|improve this question
What's connecting to the db? PHP? – robbyt Mar 12 '12 at 16:39
java, php, several ruby and python apps. – CMag Mar 12 '12 at 22:40
so far I've enabled the full mysql log... and am collecting data. Hopefully greping through it I will be able to find the username which is failing. – CMag Mar 12 '12 at 22:41

Your Answer


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

Browse other questions tagged or ask your own question.