Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 36.3Mb
PDF (A4) - 36.3Mb
PDF (RPM) - 36.2Mb
HTML Download (TGZ) - 10.4Mb
HTML Download (Zip) - 10.4Mb
HTML Download (RPM) - 9.2Mb
Man Pages (TGZ) - 224.6Kb
Man Pages (Zip) - 332.7Kb
Info (Gzip) - 3.3Mb
Info (Zip) - 3.3Mb
Excerpts from this Manual

MySQL 5.7 Reference Manual  /  MySQL Server Administration

Chapter 5 MySQL Server Administration

Table of Contents

5.1 The MySQL Server
5.1.1 Configuring the Server
5.1.2 Server Configuration Defaults
5.1.3 Server Option, System Variable, and Status Variable Reference
5.1.4 Server System Variable Reference
5.1.5 Server Status Variable Reference
5.1.6 Server Command Options
5.1.7 Server System Variables
5.1.8 Using System Variables
5.1.9 Server Status Variables
5.1.10 Server SQL Modes
5.1.11 Connection Management
5.1.12 IPv6 Support
5.1.13 MySQL Server Time Zone Support
5.1.14 Server-Side Help Support
5.1.15 Server Tracking of Client Session State Changes
5.1.16 The Server Shutdown Process
5.2 The MySQL Data Directory
5.3 The mysql System Database
5.4 MySQL Server Logs
5.4.1 Selecting General Query Log and Slow Query Log Output Destinations
5.4.2 The Error Log
5.4.3 The General Query Log
5.4.4 The Binary Log
5.4.5 The Slow Query Log
5.4.6 The DDL Log
5.4.7 Server Log Maintenance
5.5 MySQL Server Plugins
5.5.1 Installing and Uninstalling Plugins
5.5.2 Obtaining Server Plugin Information
5.5.3 MySQL Enterprise Thread Pool
5.5.4 The Rewriter Query Rewrite Plugin
5.5.5 Version Tokens
5.5.6 MySQL Plugin Services
5.6 MySQL Server User-Defined Functions
5.6.1 Installing and Uninstalling User-Defined Functions
5.6.2 Obtaining User-Defined Function Information
5.7 Running Multiple MySQL Instances on One Machine
5.7.1 Setting Up Multiple Data Directories
5.7.2 Running Multiple MySQL Instances on Windows
5.7.3 Running Multiple MySQL Instances on Unix
5.7.4 Using Client Programs in a Multiple-Server Environment
5.8 Debugging MySQL
5.8.1 Debugging a MySQL Server
5.8.2 Debugging a MySQL Client
5.8.3 The DBUG Package
5.8.4 Tracing mysqld Using DTrace

MySQL Server (mysqld) is the main program that does most of the work in a MySQL installation. This chapter provides an overview of MySQL Server and covers general server administration:

  • Server configuration

  • The data directory, particularly the mysql system database

  • The server log files

  • Management of multiple servers on a single machine

For additional information on administrative topics, see also: