MySQL and User level logging

Posted by Adraen on Server Fault See other posts from Server Fault or by Adraen
Published on 2012-09-24T17:56:21Z Indexed on 2012/09/26 3:39 UTC
Read the original article Hit count: 508

Filed under:
|
|
|

I have been looking at logging only certain users activity in MySQL. I found that the logging could be enabled or disabled for all users but one of the service using the db does a lot of queries and therefore I would like to only log specific users.

Google told me that a flag can be SET to enable disable logging, however, I cannot modify the service DB connection code and asking every single user to enable logging before they do anything might not be as reliable as I want.

So, do you know if there is any way to log only a set of users queries ?

Thanks !

© Server Fault or respective owner

Related posts about mysql

Related posts about logging