MariaDB and MySQL are used in a broad range of environments, but if you needed to record user access to be in compliance with auditing regulations for your organization, you would previously have had to use other database solutions. To meet this need, though, MariaDB has developed the MariaDB Audit Plugin. Although the MariaDB Audit Plugin has some unique features available only for MariaDB, it can be used also with MySQL.
Basically, the purpose of the MariaDB Audit Plugin is to log the server's activity. For each client session, it records who connected to the server (i.e., user name and host), what queries were executed, and which tables were accessed and server variables that were changed. This information is stored in a rotating log file or it may be sent to the local
The MariaDB Audit Plugin works with MariaDB, MySQL (as of, version 5.5.34 and 10.0.7) and Percona Server. MariaDB started including by default the Audit Plugin from versions 10.0.10 and 5.5.37, and it can be installed in any version from MariaDB 5.5.20.
- Log Settings
- Log Location & Rotation
- Log Format
- Status Variables
- System Variables
- Release Notes
Below is a list of the releases of the MariaDB Audit Plugin, the most recent version first, and in which versions of MariaDB each relative plugin was included.
MariaDB Audit Plugin - InstallationThe MariaDB Audit Plugin is provided as a dynamic library: server_audit.so ...
MariaDB Audit Plugin - ConfigurationAfter the audit plugin has been installed and loaded, there will be some ne...
MariaDB Audit Plugin - Log SettingsLog audit events to a file or syslog
MariaDB Audit Plugin - Location and Rotation of LogsLogs can be written to a separate file or to the system logs. If you prefer...
MariaDB Audit Plugin - Log FormatThe audit plugin logs user access to MariaDB and it's objects. The audit tr...
MariaDB Audit Plugin - Status VariablesServer Audit plugin status variables
MariaDB Audit Plugin - System VariablesDescription of Server_Audit plugin system variables
Release Notes - MariaDB Audit PluginMariaDB Audit Plugin release notes