Comments - MariaDB Audit Plugin - Log Settings

9 years, 10 months ago M Samarah

With MySQL 5.5.37 and Windows x64 the engine produces an error and does not load the plug-in. I have attached the error messages below and the configuration used. Please let me know how to resolve this issue. Many thanks for your help.

[ERROR] Can't open shared library 'C:\Program Files\MySQL\MySQL Server 5.5\lib\plugin\server_audit.dll' (errno: 127 The specified procedure could not be found.)

[ERROR] Couldn't load plugin named 'server_audit' with soname 'server_audit.dll'.

mysql> show global variables like '%version%';

innodb_version5.5.37
protocol_version10
slave_type_conversions
version5.5.37-log
version_commentMySQL Community Server (GPL)
version_compile_machinex86
version_compile_osWin64

[mysqld]

port=3306

basedir="C:\Program Files\MySQL\MySQL Server 5.5\"

datadir="C:\ProgramData\MySQL\MySQL Server 5.5\data\"

character-set-server=utf8

default-storage-engine=INNODB

plugin-load=server_audit=server_audit.dll

server_audit=FORCE_PLUS_PERMANENT

...

 
9 years, 8 months ago Elena Stepanova

Did you actually put the library in the plugin directory? It does not exist in the standard MySQL package produced by Oracle on reasons that seem obvious, you need to add it.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.