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

[ERROR] Plugin 'AUDIT' init function returned error #138

Closed eliranswisa-zz closed 8 years ago

eliranswisa-zz commented 8 years ago

Hi,

I have a MySQL 5.6.28 installed and I am trying to install the audit plugin. Downloaded the latest version that suits my environment - linux x86_64 for mysql 5.6.28;

audit-plugin-mysql-5.6-1.0.8-527-linux-x86_64.zip Size: 506.1 KB sha1: cc9bca8341e9ac50af1b5c666f194304a9ab3bad

but when I am trying to start the database, I am getting the following error : 2016-02-07 06:59:33 12680 [Note] Audit Plugin: starting up. Version: 1.0.8 , Revision: 527 (64bit). AUDIT plugin interface version: 769 (0x301). MySQL Server version: 5.6.28-log. 2016-02-07 06:59:33 12680 [Note] Audit Plugin: setup_offsets audit_offsets: (null) validate_checksum: 1 offsets_by_version: 1 2016-02-07 06:59:34 12680 [Note] Audit Plugin: mysqld: /usr/sbin/mysqld (0815fd25e8d4056d9c46a197fc739014) 2016-02-07 06:59:34 12680 [Note] Audit Plugin: Couldn't find proper THD offsets for: 5.6.28-log 2016-02-07 06:59:34 12680 [ERROR] Plugin 'AUDIT' init function returned error. 2016-02-07 06:59:34 12680 [ERROR] Plugin 'AUDIT' registration as a AUDIT failed.

I saw that the commit with MySQL 5.6.28 offsets was committed on Dec 13, 2015 and yet the plugin I downloaded is from April 2015.

What can be done?

Thanks a lot.

aharonrobbins commented 8 years ago

Please try the development version (1.0.9) which was just uploaded in the past few days.

Thanks!

eliranswisa-zz commented 8 years ago

Worked! Thanks.

aharonrobbins commented 8 years ago

Great. Thanks for letting us know. I am closing the issue.