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

Failed to compute offsets connect_attrs. #231

Open wyzhl126 opened 3 years ago

wyzhl126 commented 3 years ago

Mysql Server version: 8.0.22 MySQL Community Server - GPL audit_validate_checksum=OFF audit_json_file = ON

插件安装没有问题,也正常记录审计,就是错误日志一直报下面的错误,怎么处理这个不让其再报呢 McAfee Audit Plugin: Failed to compute offsets connect_attrs. pfs [0x7f8bfccdcb40], connect_attrs [0x6c54080], connect_attrs_length [0], connect_attrs_cs [(nil)]

william0106 commented 2 years ago

show variables like 'log_error_verbosity'; 你那该值应该为3

set global log_error_verbosity = 2;

1为错误信息,2位错误加警告,3为错误信息、告警信息和通知信息,初始化时为3,上线后改为2