My Oracle Support Banner

Auditing Capabilities of MySQL Server (Doc ID 1406914.1)

Last updated on FEBRUARY 27, 2020

Applies to:

MySQL Router - Version 0.8 and later
MySQL Server - Version 4.0 and later
Information in this document applies to any platform.

Purpose

This document gives an overview of what capabilities MySQL Server provides to enable the user to perform some auditing functionality. This can vary from simply catching all the statements executed to more complex mechanisms that will allow filtering and professional auditing logs.

Questions and Answers

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Questions and Answers
 What auditing capabilities does MySQL Server offer by default?
 What auditing capabilities are available in different versions of MySQL Server?
 Version 4.x and earlier
 Version 5.0, 5.1
 Version 5.5
 Version 5.5.28+, 5.6 and higher
 What are the limitations of auditing within MySQL?
 What if auditing is a legal requirement for my business?
 Can I audit certain connections?
 Can I audit certain tables or databases?
 Can I audit certain query types?
 Can auditing be to a table instead of a file?
 Can I use commercial auditing software with MySQL?
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.