Q:

Audit Plug-in for MYSQL 5.7.24 error

I have tried installing MariaDB audit plugin for MySQL 5.7.24.
I have downloaded the 'server_audit.so' from  MariaDB-10.3.11 and I think it is compatible with MySQL 5.7.24.
But I have encountered this error while running command 

INSTALL PLUGIN server_audit SONAME 'server_audit';
ERROR 1126 (HY000): Can't open shared library
  '/usr/lib/mysql/plugin/server_audit' (errno: 2
  /usr/lib/mysql/plugin/server_audit: cannot open shared object file: No
  such file or directory)

thanks for any help

A:

INSTALL PLUGIN server_audit SONAME 'server_audit.so';

According to the documentation, the SONAME should include the extension - '.so' in this case. 

