Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.38
-
None
-
None
-
Windows, Linux, Audit Plugin 1.1.7
Description
The latest MariaDB audit plugin is failing to load on MySQL 5.5.
I've tested MySQL 5.5.8 and 5.5.38 on Windows. In each case it fails, though with some slightly differing error messages:
mysql> select version();
|
+-----------+
|
| version() |
|
+-----------+
|
| 5.5.8-log |
|
+-----------+
|
|
mysql> INSTALL PLUGIN server_audit SONAME 'server_audit.dll';
|
ERROR 1126 (HY000): Can't open shared library 'C:\Program Files\MySQL\mysql-5.5.8\lib/plugin/server_audit.dll' (errno: 2 )
|
|
mysql> select version();
|
+------------+
|
| version() |
|
+------------+
|
| 5.5.38-log |
|
+------------+
|
|
mysql> INSTALL PLUGIN server_audit SONAME 'server_audit.dll';
|
ERROR 1126 (HY000): Can't open shared library 'C:\Program Files\MySQL\MySQL Server 5.5\lib\plugin\server_audit.dll' (errno: 127 The specified procedure could not be found.)
|
Here is the output on MySQL 5.5.8 Linux:
mysql> INSTALL PLUGIN server_audit SONAME 'server_audit.so';
|
ERROR 1126 (HY000): Can't open shared library 'server_audit.so' (errno: 0 API version for AUDIT plugin is too different)
|
The same plugin loads fine in MariaDB 5.5:
MariaDB [(none)]> select version();
|
+----------------+
|
| version() |
|
+----------------+
|
| 5.5.38-MariaDB |
|
+----------------+
|
1 row in set (0.01 sec)
|
|
MariaDB [(none)]> INSTALL PLUGIN server_audit SONAME 'server_audit.dll';
|
Query OK, 0 rows affected (0.01 sec)
|