Re: All client commands to syslog?

2013-04-02 Thread spameden
2013/3/28 Rafał Radecki > Hi All. > > I have a production setup of four databases connected with > replication. I would like to log every command that clients execute > for auditing. > Take a look at general query log it's exactly what you need. http://dev.mysql.com/doc/refman/5.5/en/query-log

Re: All client commands to syslog?

2013-03-28 Thread yoku ts.
Hello, "--syslog" is option of "mysql" command line client and it works in my environment. Do you put [mysql] section in your my.cnf? Regards, yoku 2013/3/28 Rafał Radecki : > Hi All. > > I have a production setup of four databases connected with > replication. I would like to log every comman

RE: All client commands to syslog?

2013-03-28 Thread Guy_Lichtman
Hi, You can check out the McAfee MySQL Audit Plugin at: https://github.com/mcafee/mysql-audit It is an open source plugin providing audit capabilities for MySQL. It can be used to log executing commands. It can log to a file or over a unix domain socket to syslog-ng. Best, Guy -Origi