My Oracle Support Banner

What is the General Query Log and How to Control Where the Log is Stored? (Doc ID 1448154.1)

Last updated on NOVEMBER 07, 2024

Applies to:

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

Purpose

Understand what the general query log is and how to configure it.

Scope

Detailed general guidance for DBAs seeking guidance on how to configure and use it.

Details

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
Scope
Details
 Enabling & Disabling
 5.1 and Later
 5.0 and Earlier
 Temporarily Disabling Logging
 Controlling the Destination
 5.1 and Later
 5.0 and Earlier
 Controlling the Timestamp Time Zone
 What is Logged?
References

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