trellix-enterprise / mysql-audit

AUDIT Plugin for MySQL. See wiki and readme for description. If you find the plugin useful, please star us on GitHub. We love stars and it's a great way to show your feedback.
Other
239 stars 57 forks source link

undefined symbol: thd_alloc_service #182

Closed 1044730317 closed 6 years ago

1044730317 commented 7 years ago

I installed plugins on version 5.7.18 .

    INSTALL PLUGIN AUDIT SONAME 'libaudit_plugin.so';

The following error occurs: (errno: 13 mysql_5.7.18/lib/plugin/libaudit_plugin.so: undefined symbol: thd_alloc_service)

Find the definition of the error in this file. " mysql-audit-master/src/MySQLPlugin.map "

{ global: _mysql_plugindeclarations; _mysql_plugin_interfaceversion; _mysql_sizeof_struct_stplugin; audit_plugin_so_init; thd_alloc_service;

    local: *;

};

What is the effect of this definition? " thd_alloc_service; "

aharonrobbins commented 6 years ago

Hi. Apologies for the late response. There was a snafu with my email address and I did not see this issue.

Please try the latest version of the plugin. It should support 5.7.18 out of the box.

Thanks!