/*https://downloads.mariadb.com/Audit-Plugin/MariaDB-Audit-Plugin/*/
/* Copy server_audit.dll , server_audit.pdb to C:\Program Files\MySQL\MySQL Server 5.5\lib\plugin\ */
/* Run this Script in Mysql Workbench on root connection  */
INSTALL PLUGIN server_audit SONAME 'server_audit.so';
SET GLOBAL server_audit_events='CONNECT,QUERY,TABLE';
SET GLOBAL server_audit_logging=ON;
/*SHOW PLUGINS;*/
/*SELECT * from information_schema.plugins where plugin_name='server_audit';*/
SHOW GLOBAL VARIABLES LIKE 'server_audit%';
/* Audit Log Show in C:\ProgramData\MySQL\MySQL Server 5.5\data\server_audit.log */