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.

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.

Thanks

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

 
discard

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

Browse other questions tagged or ask your own question.