# Issue with Percona Audit Plugin for MySQL 5.5.38

**URL:** <https://forums.percona.com/t/issue-with-percona-audit-plugin-for-mysql-5-5-38/6850>\
**Category:** Other MySQL® Questions\
**Created:** [February 14, 2019, 6:02pm UTC](https://forums.percona.com/t/issue-with-percona-audit-plugin-for-mysql-5-5-38/6850 "2019-02-14T18:02:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuvi](https://avatars.discourse-cdn.com/v4/letter/y/ecb155/32.png) [@Yuvi](https://forums.percona.com/u/Yuvi)\
**Post date:** [February 14, 2019, 6:02pm UTC](https://forums.percona.com/t/issue-with-percona-audit-plugin-for-mysql-5-5-38/6850/1 "2019-02-14T18:02:01Z")

</div>

Hi ,

I tried to install the Percona Audit plugin for MySQL 5.5.38 and it is showing me the below error

mysql\> install plugin audit\_log soname ‘audit\_log.so’;

ERROR 1123 (HY000): Can’t initialize function ‘audit\_log’; Plugin initialization function failed.

First I modifed the my.cnf file with the follwoing variables like “[audit\_log\_policy](https://dev.mysql.com/doc/refman/5.5/en/audit-log-options-variables.html#sysvar_audit_log_policy)=All, [audit\_log\_rotate\_on\_size](https://dev.mysql.com/doc/refman/5.5/en/audit-log-options-variables.html#sysvar_audit_log_rotate_on_size)=1G, [audit\_log\_format](https://dev.mysql.com/doc/refman/5.5/en/audit-log-options-variables.html#sysvar_audit_log_format)=CSV,etc.,”. and then tried to install the plugin as above which is throwing the error.

Here are the errors from the MySQL error log file

[ERROR] Plugin ‘audit\_log’ registration as a AUDIT failed.

[ERROR] Plugin ‘audit\_log’ init function returned error.

Can anyone please guide me how to comeup with a solution for this issue.
