8.4.5.3 MySQL Enterprise Audit Security Considerations (original) (raw)
8.4.5.3 MySQL Enterprise Audit Security Considerations
By default, contents of audit log files produced by the audit log plugin are not encrypted and may contain sensitive information, such as the text of SQL statements. For security reasons, audit log files should be written to a directory accessible only to the MySQL server and to users with a legitimate reason to view the log. The default file name isaudit.log
in the data directory. This can be changed by setting theaudit_log_file system variable at server startup. Other audit log files may exist due to log rotation.
For additional security, enable audit log file encryption. SeeEncrypting Audit Log Files.