Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. 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

I'm seeing the following errors repeatedly in the error log file for our production MySQL server:

[Warning] Access denied for user 'root'@'' (using password: NO)

So, I know where the connection attempt is coming from, but I don't know how to track down the application trying to connect. Is there any way to determine the application, program, client initiating the request?

share|improve this question

MySQL does not have a way to determine the information you're looking for (client attempting the connection). The only thing you will get from a direct connection attempt is the username and hostname (as noted above).

MySQL doesn't utilize or pass User-Agent-like data in that manner.

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.