The Percona MySQL 8.0 Audit Plugin works very well with MySQL 8.0 Community Edition, and we have been using it successfully. We are now evaluating options for MySQL 8.4.4 Community Edition.
I noticed that the Audit Log Plugin has been removed from Percona Server for MySQL 8.4, so I explored the alternative Percona Audit Log Filter Component available in Percona Server 8.4.4.
However, when attempting to install the component on MySQL Community 8.4.4, I encountered the following error:
INSTALL COMPONENT ‘file://component_audit_log_filter’;
ERROR: 1126 (HY000): Can’t open shared library ‘/mysqlbin/lib/plugin/component_audit_log_filter.so’ (errno: 0 /mysqlbin/bin/../lib/private/libcrypto.so.3: version `OPENSSL_1_1_0’ not found (required by /mysqlbin/lib/plugin/component_audit)
Is the Percona Audit Log Filter Component (from Percona Server 8.4.4) compatible with MySQL Community 8.4.4?
The audit log filter component is part of the ‘MySQL Enterprise Audit’ feature in Oracle MySQL. Similarly, Percona provides this capability as an open-source component in Percona Server for MySQL. If you want to use the audit log filter functionality offered by Percona, you should use Percona Server for MySQL instead of the MySQL Community Edition.
Hi, I can confirm that it does work as I am running it (albeit in test only) using MySQL Community 8.4.7 and the Percona Audit_Log_filter component on Debian 12.
I seem to recall there was a Bug with the audit log handling in MySQL 8.4.4 that affected both the MySQL and Percona audit log’s that was fixed with MySQL 8.4.5, so maybe try upgrading to the latest version if possible.
@Dhivya_Arumugam,
If you look at the error message more closely, you’ll see that the issue is not about the audit plugin, but around the system openssl library version. Try installing an older version of openssl in the 1.0 area. Percona removed openssl 1.0 from many of our latest releases as it is old, insecure, and deprecated by the openssl devs, and most OSes. There’s some sort of incompatibility with your libcrypto version.
As suggested, I observed that the Percona MySQL distribution built with glibc 2.31 and above uses OpenSSL 3.0.x. However, I could not find any MySQL Community Edition tarball binaries available for download that are built with glibc 2.31 or higher. Could you please advise on this or suggest an alternative approach?