MySQL Enterprise Audit Plugin
The MySQL Enterprise Audit plugin enables MySQL Server to produce a log file containing an audit record of server activity. The log content includes when clients connect and disconnect, and what actions they perform while connected, such as which databases and tables they access.
You can add statistics for the time and size of each query to detect outliers. By default, audit plugin logs are disabled, and you have to define audit plugin filters to enable logging auditable events for all or specific users.
Related Topics
Granting Audit Administration Privileges
By default, the HeatWave administrator user you defined while creating the DB system has the AUDIT_ADMIN
privilege. You can grant audit administration privileges to more users.
Using a Command-Line Client
Use a command-line client such as MySQL Client or MySQL Shell to grant audit administration privileges to more users.
Related Topics
Defining Audit Plugin Filters
You have to define audit plugin filters to enable logging auditable events for all or specific users. By default, audit plugin logs are disabled.
Using a Command-Line Client
Use a command-line client such as MySQL Client or MySQL Shell to define audit plugin filters to enable logging auditable events for all or specific users.
- MySQL version 8.0.34-u2 or higher.
Related Topics