I need to audit a MySQL 5.5 server. I need to log what some users do in
the server.
Activating general log is not an option.
Any ideas?
Best regards
--
José C. Massón
gcoop - Cooperativa de Software Libre
Velasco 508 Depto A
www.gcoop.coop (+54 11) 4855-4390
Buenos Aires - Argentina
--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To post to this group, send email to percona-d...@googlegroups.com.
To unsubscribe from this group, send email to percona-discuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/percona-discussion?hl=en.
I need to know all the querys/commands that some users (DBAs) run in the
server.
Best regards
--
Jos� C. Mass�n
El 19/09/11 17:47, Will Gunty escribió:
> What degree of granularity do you need? User Statistics in theI need to know all the querys/commands that some users (DBAs) run in the
> Information_Schema may be a good start.
server.
Best regards
--
José C. Massón
gcoop - Cooperativa de Software Libre
Velasco 508 Depto A
www.gcoop.coop (+54 11) 4855-4390
Buenos Aires - Argentina
--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To post to this group, send email to percona-d...@googlegroups.com.
To unsubscribe from this group, send email to percona-discuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/percona-discussion?hl=en.
http://dev.mysql.com/doc/refman/5.5/en/writing-audit-plugins.html
It requires a little C knowledge though..
Cheers,
Mark Leith
On 19 Sep 2011, at 22:23, "José C. Massón" <jo...@gcoop.coop> wrote:
> El 19/09/11 17:47, Will Gunty escribió:
>> What degree of granularity do you need? User Statistics in the
>> Information_Schema may be a good start.
>
> I need to know all the querys/commands that some users (DBAs) run in the
> server.
>
> Best regards
> --
> José C. Massón
>
> gcoop - Cooperativa de Software Libre
> Velasco 508 Depto A
> www.gcoop.coop (+54 11) 4855-4390
> Buenos Aires - Argentina
>
That's what I was thinking too. You could also base the plugin on
Anders Karlsson's:
http://karlssonondatabases.blogspot.com/2010/03/mysql-audit-plugin-api.html
And if that isn't what is needed, then you can hire Percona to make one
that fits your needs :-) It is not a difficult task, but it seems it
hasn't really been done in a generic way (not enough demand?) yet.
- Baron
Cheers,
Mark Leith
Hello Baron,
Thank you very much!. Looks very interesting. I'll test it.
Best regards
--
Jos� C. Mass�n
gcoop - Cooperativa de Software Libre