[Maria-discuss] Building MariaDB audit plugin for Percona 5.5.37-rel35
Dear Folks,
The documentation at says, "The MariaDB Audit Plugin works for MariaDB, MySQL and Percona Server."
So: 1. Which version of the MariaDB audit plugin should I use for Percona 5.5.37-rel35? 2. Does the user whitelist/blacklist feature work with Percona? 3. Does build/installation work in the same way as for MariaDB?
Hi, Nick!
On Jun 16, Nick Urbanik wrote:
Dear Folks,
The documentation at says, "The MariaDB Audit Plugin works for MariaDB, MySQL and Percona Server."
So: 1. Which version of the MariaDB audit plugin should I use for Percona 5.5.37-rel35?
Any one, the latest should be preferrable, as usual.
2. Does the user whitelist/blacklist feature work with Percona?
Yes.
3. Does build/installation work in the same way as for MariaDB?
Yes.
Almost (INSTALL SONAME is not in Percona Server, iirc, and you cannot omit the file extension from the soname).
Regards, Sergei
Dear Sergei,
Thank you for your helpful reply.
On 16/06/14 09:50 +0200, Sergei Golubchik wrote:
3. Does build/installation work in the same way as for MariaDB?
Yes.
Almost (INSTALL SONAME is not in Percona Server, iirc, and you cannot omit the file extension from the soname).
Okay, so do I need the sourcecode of just server_audit.c, of all of mariadb, and how do you build the library? Do I need to build against the Percona source code?
Dear Folks,
On 09/07/14 16:42 +1000, Nick Urbanik wrote:
On 16/06/14 09:50 +0200, Sergei Golubchik wrote:
3. Does build/installation work in the same way as for MariaDB?
Yes.
Almost (INSTALL SONAME is not in Percona Server, iirc, and you cannot omit the file extension from the soname).
Okay, so do I need the sourcecode of just server_audit.c, of all of mariadb, and how do you build the library? Do I need to build against the Percona source code?
The answer (from experimentation) is that you need the source for all of mariadb, and then do the following: 1. Do this in the top level directory of mariadb source code: cmake . 2. Change to the directory containing server_audit: plugin/server_audit 3. Type: make
Then install the resulting server_audit.so into /usr/lib64/mysql/plugin on the Percona server, load it and use it according to the mariadb documentation: https://mariadb.com/sites/default/files/MariaDB%20Audit%20Plugin%20Introduct...
participants (2)
-
Nick Urbanik
-
Sergei Golubchik