Statement/Syntax Index

A | B | C | D | E | F | G | H | I | K | L | O | P | R | S | T | U | W | X

A

[index top]

ADD FULLTEXT INDEX

Section 15.12.1, “Online DDL Overview”

ADD INDEX

Section 15.12.1, “Online DDL Overview”

ADD PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

ADD SPATIAL INDEX

Section 15.12.1, “Online DDL Overview”

ALTER DATABASE

Section 13.1.1, “ALTER DATABASE Syntax”
Section 10.1.3.3, “Database Character Set and Collation”
Section 18.2.5.1, “Evaluation of Database-Level Replication and Binary Logging Options”
Section 18.2.5, “How Servers Evaluate Replication Filtering Rules”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 1.4, “What Is New in MySQL 8.0”

ALTER EVENT

Section 13.1.2, “ALTER EVENT Syntax”
Section 23.7, “Binary Logging of Stored Programs”
Section 13.1.11, “CREATE EVENT Syntax”
Section 23.4.4, “Event Metadata”
Section 23.4.1, “Event Scheduler Overview”
Section 23.4.3, “Event Syntax”
Section 12.14, “Information Functions”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section 18.4.1.12, “Replication of Invoked Features”
Section C.1, “Restrictions on Stored Programs”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.4.6, “The Event Scheduler and MySQL Privileges”
Section 24.8, “The INFORMATION_SCHEMA EVENTS Table”

ALTER EVENT event_name ENABLE

Section 18.4.1.12, “Replication of Invoked Features”

ALTER FUNCTION

Section 13.1.3, “ALTER FUNCTION Syntax”
Section 23.7, “Binary Logging of Stored Programs”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.2.1, “Stored Routine Syntax”

ALTER IGNORE TABLE

Section 22.3.4, “Maintenance of Partitions”

ALTER INSTANCE ROTATE INNODB MASTER KEY

Section 15.7.10, “InnoDB Tablespace Encryption”
Section A.15, “MySQL 8.0 FAQ: InnoDB Tablespace Encryption”

ALTER PROCEDURE

Section 13.1.5, “ALTER PROCEDURE Syntax”
Section 23.7, “Binary Logging of Stored Programs”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.2.1, “Stored Routine Syntax”

ALTER SCHEMA

Section 13.1.1, “ALTER DATABASE Syntax”

ALTER SERVER

Section 6.2.1, “Privileges Provided by MySQL”
Section 18.4.1.7, “Replication of CREATE SERVER, ALTER SERVER, and DROP SERVER”
Section 13.3.3, “Statements That Cause an Implicit Commit”

ALTER TABLE

Section 13.1.7.2, “ALTER TABLE and Generated Columns”
Section 13.1.7.3, “ALTER TABLE Examples”
Section 13.1.7.1, “ALTER TABLE Partition Operations”
Section 13.1.7, “ALTER TABLE Syntax”
Section 13.7.2.1, “ANALYZE TABLE Syntax”
Section 18.1.6.4, “Binary Logging Options and Variables”
Section 13.7.2.2, “CHECK TABLE Syntax”
Section 10.1.3.5, “Column Character Set and Collation”
Section 10.1.7, “Column Character Set Conversion”
Section 8.3.4, “Column Indexes”
Section 15.6.11.1.1, “Configuring Automatic Statistics Calculation for Persistent Optimizer Statistics”
Section 15.6.11, “Configuring Optimizer Statistics for InnoDB”
Section 15.6.11.1.2, “Configuring Optimizer Statistics Parameters for Individual Tables”
Section 15.6.12, “Configuring the Merge Threshold for Index Pages”
Section 15.5.2.3, “Consistent Nonlocking Reads”
Section 15.19.6.4, “Controlling Transactional Behavior of the InnoDB memcached Plugin”
Section 10.1.9.8, “Converting Between 3-Byte and 4-Byte Unicode Character Sets”
Section 15.8.1.4, “Converting Tables from MyISAM to InnoDB”
Section 13.1.13, “CREATE INDEX Syntax”
Section 13.1.16.1, “CREATE TABLE Statement Retention”
Section 13.1.16, “CREATE TABLE Syntax”
Section 13.1.17, “CREATE TABLESPACE Syntax”
Section 3.3.2, “Creating a Table”
Section 15.9.1.2, “Creating Compressed Tables”
Section 15.7.5, “Creating File-Per-Table Tablespaces Outside the Data Directory”
Section 15.8.1.1, “Creating InnoDB Tables”
Section 11.5.5, “Creating Spatial Columns”
Section 11.5.9, “Creating Spatial Indexes”
Section 14.7, “Data Dictionary Limitations”
Section 15.11.4, “Defragmenting a Table”
Section 13.1.23, “DROP INDEX Syntax”
Section 15.6.11.3, “Estimating ANALYZE TABLE Complexity for InnoDB Tables”
Section 22.3.3, “Exchanging Partitions and Subpartitions with Tables”
Section 8.8.2, “EXPLAIN Output Format”
Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 12.9.6, “Fine-Tuning MySQL Full-Text Search”
Section 15.20.2, “Forcing InnoDB Recovery”
Section 1.8.3.2, “FOREIGN KEY Constraints”
Section 12.9, “Full-Text Search Functions”
Section 8.14.2, “General Thread States”
Section 13.7.1.6, “GRANT Syntax”
Section 15.9.1.5, “How Compression Works for InnoDB Tables”
Section B.5.3.4, “How MySQL Handles a Full Disk”
Section 7.6.3, “How to Repair MyISAM Tables”
Section 12.14, “Information Functions”
Section 15.8.1.6, “InnoDB and FOREIGN KEY Constraints”
Section 8.3.7, “InnoDB and MyISAM Index Statistics Collection”
Section 15.7.4, “InnoDB File-Per-Table Tablespaces”
Section 15.8.2.4, “InnoDB FULLTEXT Indexes”
Section 15.7.9, “InnoDB General Tablespaces”
Section 15.15, “InnoDB Integration with MySQL Performance Schema”
Section 15.9.2, “InnoDB Page Compression”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 15.9.1, “InnoDB Table Compression”
Section 15.7.10, “InnoDB Tablespace Encryption”
Section 8.3.11, “Invisible Indexes”
Section 13.7.6.4, “KILL Syntax”
Section B.5.7, “Known Issues in MySQL”
Section C.10.3, “Limits on Table Size”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 22.3.4, “Maintenance of Partitions”
Section 22.3.2, “Management of HASH and KEY Partitions”
Section 22.3.1, “Management of RANGE and LIST Partitions”
Section 12.9.9, “MeCab Full-Text Parser Plugin”
Section 16.7.2, “MERGE Table Problems”
Section 11.3.4, “Migrating YEAR(2) Columns to YEAR(4)”
Section 15.15.1, “Monitoring ALTER TABLE Progress for InnoDB Tables Using Performance Schema”
Section 15.8.1.3, “Moving or Copying InnoDB Tables”
Section 16.2.1, “MyISAM Startup Options”
Section 16.2.3, “MyISAM Table Storage Formats”
Section 4.6.4.1, “myisamchk General Options”
Section 1.8.1, “MySQL Extensions to Standard SQL”
MySQL Glossary
Section 27.7.7.36, “mysql_info()”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 12.9.8, “ngram Full-Text Parser”
Section 15.12.6, “Online DDL and Crash Recovery”
Section 15.12.7, “Online DDL for Partitioned Tables”
Section 15.12.5, “Online DDL Implementation Details”
Section 15.12.8, “Online DDL Limitations”
Section 15.12.1, “Online DDL Overview”
Section 15.12.2, “Online DDL Performance, Concurrency, and Space Requirements”
Section 15.12.3, “Online DDL SQL Syntax”
Section 13.7.2.4, “OPTIMIZE TABLE Syntax”
Section 8.4.1, “Optimizing Data Size”
Section 11.2.6, “Out-of-Range and Overflow Handling”
Section 15.9.1.1, “Overview of Table Compression”
Section 22.3, “Partition Management”
Section 22.6.1, “Partitioning Keys, Primary Keys, and Unique Keys”
Section 25.11.5, “Performance Schema Stage Event Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section B.5.6.1, “Problems with ALTER TABLE”
Section 22.2.3.1, “RANGE COLUMNS partitioning”
Section 22.2.1, “RANGE Partitioning”
Section 2.10.3, “Rebuilding or Repairing Tables or Indexes”
Section 13.1.30, “RENAME TABLE Syntax”
Section 18.4.1.1, “Replication and AUTO_INCREMENT”
Section 18.4.1.27, “Replication and Reserved Words”
Section 18.4.1.10.1, “Replication with More Columns on Master or Slave”
Section 22.6, “Restrictions and Limitations on Partitioning”
Section C.5, “Restrictions on Views”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.4, “Server Command Options”
Section B.3, “Server Error Codes and Messages”
Section 5.1.8, “Server SQL Modes”
Section 5.1.5, “Server System Variables”
Section 5.4.4.2, “Setting The Binary Log Format”
Section 16.1, “Setting the Storage Engine”
Section 13.7.5.22, “SHOW INDEX Syntax”
Section 13.7.5.37, “SHOW TABLES Syntax”
Section 13.7.5.40, “SHOW WARNINGS Syntax”
Section 13.1.16.7, “Silent Column Specification Changes”
Section 15.12.4, “Simplifying DDL Statements with Online DDL”
Section 15.10.2, “Specifying the Row Format for a Table”
Section 15.9.1.7, “SQL Compression Syntax Warnings and Errors”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 11.1.3, “String Type Overview”
Section 10.1.3.4, “Table Character Set and Collation”
Section B.5.6.2, “TEMPORARY Table Problems”
Section 5.4.6, “The DDL Log”
Section 24.31.23, “The INFORMATION_SCHEMA INNODB_SYS_TABLES Table”
Section 24.31.24, “The INFORMATION_SCHEMA INNODB_SYS_TABLESPACES Table”
Section 24.13, “The INFORMATION_SCHEMA PARTITIONS Table”
Section 16.3, “The MEMORY Storage Engine”
Section 16.2, “The MyISAM Storage Engine”
Section 5.4.5, “The Slow Query Log”
Section 2.10.1, “Upgrading MySQL”
Section 3.6.9, “Using AUTO_INCREMENT”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”
Section 18.3.4, “Using Replication with Different Master and Slave Storage Engines”
Section 8.12.2.2, “Using Symbolic Links for MyISAM Tables on Unix”
Section 1.4, “What Is New in MySQL 8.0”
Section B.5.3.3, “What to Do If MySQL Keeps Crashing”
Section B.5.3.5, “Where MySQL Stores Temporary Files”

ALTER TABLE ... ADD FOREIGN KEY

Section 13.1.7, “ALTER TABLE Syntax”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”

ALTER TABLE ... ADD PARTITION

Section 13.1.7.1, “ALTER TABLE Partition Operations”
Section 15.7.9, “InnoDB General Tablespaces”
Section 22.3.1, “Management of RANGE and LIST Partitions”

ALTER TABLE ... ALGORITHM=COPY

Section 13.1.7, “ALTER TABLE Syntax”
Section 15.12.8, “Online DDL Limitations”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”

ALTER TABLE ... ALGORITHM=INPLACE

Section 13.1.7, “ALTER TABLE Syntax”
Section 15.12.8, “Online DDL Limitations”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”

ALTER TABLE ... AUTO_INCREMENT = N

Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”

ALTER TABLE ... COMPRESSION

Section 15.9.2, “InnoDB Page Compression”

ALTER TABLE ... COMPRESSION=None

Section 15.9.2, “InnoDB Page Compression”

ALTER TABLE ... CONVERT TO CHARACTER SET

Section 13.7.2.1, “ANALYZE TABLE Syntax”

ALTER TABLE ... DISCARD PARTITION ... TABLESPACE

Section 15.7.6, “Copying File-Per-Table Tablespaces to Another Instance”
Section 15.7.6.1, “Transportable Tablespace Examples”

ALTER TABLE ... DISCARD TABLESPACE

Section 15.7.6, “Copying File-Per-Table Tablespaces to Another Instance”
Section 13.1.17, “CREATE TABLESPACE Syntax”
Section 15.7.9, “InnoDB General Tablespaces”
MySQL Glossary
Section 15.7.6.2, “Transportable Tablespace Internals”

ALTER TABLE ... DROP FOREIGN KEY

Section 13.1.7, “ALTER TABLE Syntax”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”

ALTER TABLE ... DROP PARTITION

Section 18.4.1.19, “Replication and Partitioning”

ALTER TABLE ... ENCRYPTED

Section 15.7.10, “InnoDB Tablespace Encryption”

ALTER TABLE ... ENCRYPTION

Section 13.1.4, “ALTER INSTANCE Syntax”
Section 15.7.10, “InnoDB Tablespace Encryption”

ALTER TABLE ... ENGINE

Section 5.1.5, “Server System Variables”

ALTER TABLE ... ENGINE = MEMORY

Section 18.4.1.23, “Replication and MEMORY Tables”

ALTER TABLE ... ENGINE permitted_engine

Section 5.1.5, “Server System Variables”

ALTER TABLE ... ENGINE=INNODB

Section 1.4, “What Is New in MySQL 8.0”

ALTER TABLE ... EXCHANGE PARTITION

Section 13.1.7.1, “ALTER TABLE Partition Operations”
Section 22.3.3, “Exchanging Partitions and Subpartitions with Tables”

ALTER TABLE ... FORCE

Section 13.7.2.4, “OPTIMIZE TABLE Syntax”

ALTER TABLE ... IMPORT PARTITION ... TABLESPACE

Section 15.7.6, “Copying File-Per-Table Tablespaces to Another Instance”
Section 15.7.6.1, “Transportable Tablespace Examples”

ALTER TABLE ... IMPORT TABLESPACE

Section 15.7.6, “Copying File-Per-Table Tablespaces to Another Instance”
Section 15.8.1.3, “Moving or Copying InnoDB Tables”
MySQL Glossary
Section 15.7.6.1, “Transportable Tablespace Examples”
Section 15.7.6.2, “Transportable Tablespace Internals”

ALTER TABLE ... OPTIMIZE PARTITION

Section 22.3.4, “Maintenance of Partitions”
Section 22.6.2, “Partitioning Limitations Relating to Storage Engines”

ALTER TABLE ... PARTITION BY

Section 22.6.1, “Partitioning Keys, Primary Keys, and Unique Keys”

ALTER TABLE ... PARTITION BY ...

Section 22.3.1, “Management of RANGE and LIST Partitions”
Section 22.6, “Restrictions and Limitations on Partitioning”

ALTER TABLE ... REMOVE PARTITIONING

Section 1.4, “What Is New in MySQL 8.0”

ALTER TABLE ... RENAME

Section 8.12.2.2, “Using Symbolic Links for MyISAM Tables on Unix”

ALTER TABLE ... REORGANIZE PARTITION

Section 13.1.16, “CREATE TABLE Syntax”

ALTER TABLE ... REPAIR PARTITION

Section 22.3.3, “Exchanging Partitions and Subpartitions with Tables”
Section 22.3.4, “Maintenance of Partitions”

ALTER TABLE ... TABLESPACE

Section 13.1.17, “CREATE TABLESPACE Syntax”
Section 15.7.4.1, “Enabling and Disabling File-Per-Table Tablespaces”
Section 15.7.4, “InnoDB File-Per-Table Tablespaces”

ALTER TABLE ... TABLESPACE=innodb_file_per_table

Section 15.13, “InnoDB Startup Options and System Variables”

ALTER TABLE ... TRUNCATE PARTITION

Section 22.3.4, “Maintenance of Partitions”
Section 22.3, “Partition Management”

ALTER TABLE ... TRUNCATE PARTITION ALL

Section 22.3.4, “Maintenance of Partitions”

ALTER TABLE ... UPGRADE PARTITIONING

Section 4.4.5, “mysql_upgrade — Check and Upgrade MySQL Tables”

ALTER TABLE ...IMPORT TABLESPACE

Section 15.7.6, “Copying File-Per-Table Tablespaces to Another Instance”
Section 13.1.17, “CREATE TABLESPACE Syntax”
Section 15.7.9, “InnoDB General Tablespaces”

ALTER TABLE EXCHANGE PARTITION

Section 22.3.3, “Exchanging Partitions and Subpartitions with Tables”

ALTER TABLE t TRUNCATE PARTITION ()

Section 13.2.2, “DELETE Syntax”

ALTER TABLE t1 REORGANIZE PARTITION

Section 15.7.9, “InnoDB General Tablespaces”

ALTER TABLE t3 DROP PARTITION p2

Section 5.4.6, “The DDL Log”

ALTER TABLE table_name ENGINE=InnoDB;

Section 15.1.4, “Testing and Benchmarking with InnoDB”

ALTER TABLE tbl_name ENCRYPTION

Section 15.7.10, “InnoDB Tablespace Encryption”

ALTER TABLE tbl_name ENCRYPTION='Y'

Section A.15, “MySQL 8.0 FAQ: InnoDB Tablespace Encryption”

ALTER TABLE tbl_name ENGINE=engine_name

Section 15.6.2, “Configuring InnoDB for Read-Only Operation”
Section 14.6, “Data Dictionary Usage Differences”
Section 15.13, “InnoDB Startup Options and System Variables”

ALTER TABLE tbl_name ENGINE=INNODB

Section 13.1.7, “ALTER TABLE Syntax”
Section 15.11.4, “Defragmenting a Table”

ALTER TABLE tbl_name FORCE

Section 13.1.7, “ALTER TABLE Syntax”
Section 15.11.4, “Defragmenting a Table”

ALTER TABLE tbl_name TABLESPACE tablespace_name

Section 13.1.17, “CREATE TABLESPACE Syntax”
Section 15.4.9, “General Tablespaces”
Section 15.7.9, “InnoDB General Tablespaces”
MySQL Glossary

ALTER TABLESPACE ... ENGINE

Section 5.1.5, “Server System Variables”

ALTER USER

Section 6.2.6, “Access Control, Stage 1: Connection Verification”
Section 13.7.1.1, “ALTER USER Syntax”
Section 6.3.7, “Assigning Account Passwords”
Section 6.4.2, “Command Options for Encrypted Connections”
Section 6.1.2.1, “End-User Guidelines for Password Security”
Section 13.7.1.6, “GRANT Syntax”
Section 6.2.3, “Grant Tables”
Section 4.4.5, “mysql_upgrade — Check and Upgrade MySQL Tables”
Section 6.3.9, “Password Expiration and Sandbox Mode”
Section 6.3.8, “Password Expiration Policy”
Section 6.5.3.2, “Password Validation Plugin Options and Variables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 6.3.11, “Proxy Users”
Section B.5.3.2.3, “Resetting the Root Password: Generic Instructions”
Section 5.1.5, “Server System Variables”
Section 13.7.1.9, “SET DEFAULT ROLE Syntax”
Section 13.7.1.10, “SET PASSWORD Syntax”
Section 6.3.6, “Setting Account Resource Limits”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 6.5.3, “The Password Validation Plugin”
Section 28.2.1, “Types of Plugins”
Section 6.3.12, “User Account Locking”

ALTER USER ... ACCOUNT LOCK

Section B.3, “Server Error Codes and Messages”

ALTER USER ... ACCOUNT UNLOCK

Section B.3, “Server Error Codes and Messages”

ALTER USER ... DEFAULT ROLE

Section 13.7.1.1, “ALTER USER Syntax”
Section 13.7.1.9, “SET DEFAULT ROLE Syntax”

ALTER VIEW

Section 13.1.9, “ALTER VIEW Syntax”
Section 13.1.19, “CREATE VIEW Syntax”
Section 12.14, “Information Functions”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section C.1, “Restrictions on Stored Programs”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.5.2, “View Processing Algorithms”
Section 23.5.1, “View Syntax”

ANALYZE PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

ANALYZE TABLE

Section 13.1.7, “ALTER TABLE Syntax”
Section 13.7.2.1, “ANALYZE TABLE Syntax”
Section 15.6.11.1.1, “Configuring Automatic Statistics Calculation for Persistent Optimizer Statistics”
Section 15.6.2, “Configuring InnoDB for Read-Only Operation”
Section 15.6.11.2, “Configuring Non-Persistent Optimizer Statistics Parameters”
Section 15.6.11, “Configuring Optimizer Statistics for InnoDB”
Section 15.6.11.1.2, “Configuring Optimizer Statistics Parameters for Individual Tables”
Section 15.6.11.1.3, “Configuring the Number of Sampled Pages for InnoDB Optimizer Statistics”
Section 13.1.13, “CREATE INDEX Syntax”
Section 13.1.16, “CREATE TABLE Syntax”
Section 14.6, “Data Dictionary Usage Differences”
Section 15.6.11.3, “Estimating ANALYZE TABLE Complexity for InnoDB Tables”
Section 8.8.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 12.9.6, “Fine-Tuning MySQL Full-Text Search”
Section 8.14.2, “General Thread States”
Section 15.6.11.1.4, “Including Delete-marked Records in Persistent Statistics Calculations”
Section 14.5, “INFORMATION_SCHEMA and Data Dictionary Integration”
Section 8.3.7, “InnoDB and MyISAM Index Statistics Collection”
Section 15.6.11.1.5, “InnoDB Persistent Statistics Tables”
Section 15.6.11.1.6, “InnoDB Persistent Statistics Tables Example”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 15.8.1.7, “Limits on InnoDB Tables”
Section 22.3.4, “Maintenance of Partitions”
Section 16.7.2, “MERGE Table Problems”
Section 7.6, “MyISAM Table Maintenance and Crash Recovery”
Section 4.6.4.1, “myisamchk General Options”
Section 1.8.1, “MySQL Extensions to Standard SQL”
MySQL Glossary
Section 4.5.3, “mysqlcheck — A Table Maintenance Program”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 8.9.6, “Optimizer Statistics”
Section 8.2.3, “Optimizing INFORMATION_SCHEMA Queries”
Section 8.6.1, “Optimizing MyISAM Queries”
Section 8.8.1, “Optimizing Queries with EXPLAIN”
Section 8.2.1, “Optimizing SELECT Statements”
Section 6.2.1, “Privileges Provided by MySQL”
Section 8.2.1.2, “Range Optimization”
Section 18.4.1.15, “Replication and FLUSH”
Section 22.6, “Restrictions and Limitations on Partitioning”
Section 5.1.5, “Server System Variables”
Section 13.7.5.22, “SHOW INDEX Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 24.21, “The INFORMATION_SCHEMA STATISTICS Table”
Section 24.24, “The INFORMATION_SCHEMA TABLES Table”
Section 5.3, “The mysql System Database”
Section 5.4.5, “The Slow Query Log”

B

[index top]

BEGIN

Section 15.5.2.2, “autocommit, Commit, and Rollback”
Section 13.6.1, “BEGIN ... END Compound-Statement Syntax”
Section 23.7, “Binary Logging of Stored Programs”
Section 15.20.4, “InnoDB Error Handling”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 25.11.7, “Performance Schema Transaction Tables”
Section 18.4.1.33, “Replication and Transactions”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section C.1, “Restrictions on Stored Programs”
Section 5.1.5, “Server System Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 25.11.7.1, “The events_transactions_current Table”

BEGIN ... END

Section 13.6.1, “BEGIN ... END Compound-Statement Syntax”
Section 13.6.5.1, “CASE Syntax”
Section 13.6, “Compound-Statement Syntax”
Section 13.1.18, “CREATE TRIGGER Syntax”
Section 13.6.6.1, “Cursor CLOSE Syntax”
Section 13.6.6.3, “Cursor FETCH Syntax”
Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.6.3, “DECLARE Syntax”
Section 23.1, “Defining Stored Programs”
Section 23.4.1, “Event Scheduler Overview”
Section 13.6.5.4, “LEAVE Syntax”
Section 13.6.4.1, “Local Variable DECLARE Syntax”
Section 13.6.4.2, “Local Variable Scope and Resolution”
Section C.1, “Restrictions on Stored Programs”
Section 13.6.7.6, “Scope Rules for Handlers”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 13.6.2, “Statement Label Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.3.1, “Trigger Syntax and Examples”

BINLOG

Section 13.7.6.1, “BINLOG Syntax”
Section 4.6.8.2, “mysqlbinlog Row Event Display”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 6.2.1, “Privileges Provided by MySQL”

C

[index top]

CACHE INDEX

Section 13.7.6.2, “CACHE INDEX Syntax”
Section 8.10.2.4, “Index Preloading”
Section 13.7.6.5, “LOAD INDEX INTO CACHE Syntax”
Section 8.10.2.2, “Multiple Key Caches”
Section 13.3.3, “Statements That Cause an Implicit Commit”

CALL

Section 23.6, “Access Control for Stored Programs and Views”
Section 23.7, “Binary Logging of Stored Programs”
Section 27.7.5, “C API Data Structures”
Section 27.7.19, “C API Multiple Statement Execution Support”
Section 27.7.21, “C API Prepared CALL Statement Support”
Section 27.7.22, “C API Prepared Statement Problems”
Section 13.2.1, “CALL Syntax”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 27.7.7.1, “mysql_affected_rows()”
Section 27.7.7.38, “mysql_insert_id()”
Section 27.7.7.46, “mysql_more_results()”
Section 27.7.7.47, “mysql_next_result()”
Section 27.7.7.54, “mysql_real_connect()”
Section 27.7.7.72, “mysql_set_server_option()”
Section 27.7.11.17, “mysql_stmt_next_result()”
Section 13.5, “Prepared SQL Statement Syntax”
Chapter 23, Stored Programs and Views
Section 23.2.1, “Stored Routine Syntax”
Section 23.3.1, “Trigger Syntax and Examples”

CALL p()

Section 13.6.7.4.3, “RESIGNAL with a Condition Value and Optional New Signal Information”

CASE

Section 8.10.3, “Caching of Prepared Statements and Stored Programs”
Section 13.6.5.1, “CASE Syntax”
Section 12.4, “Control Flow Functions”
Section 13.6.5, “Flow Control Statements”

CHANGE MASTER TO

Section 18.1.4.2.3, “Adding a Binary Log Based Master to a Multi-Source Replication Slave”
Section 18.1.4.2.2, “Adding a GTID Based Master to a Multi-Source Replication Slave”
Section 6.3.7, “Assigning Account Passwords”
Section 18.3.1.2, “Backing Up Raw Data from a Slave”
Section 18.1.1, “Binary Log File Position Based Replication Configuration Overview”
Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 18.2.3.1, “Commands for Operations on a Single Channel”
Section 18.2.3.2, “Compatibility with Previous Replication Statements”
Section 18.1.2.5.1, “Creating a Data Snapshot Using mysqldump”
Section 21.8, “Frequently Asked Questions”
Section 13.7.1.6, “GRANT Syntax”
Section 18.1.3.1, “GTID Concepts”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 25.11.11, “Performance Schema Replication Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.1.6, “Replication and Binary Logging Options and Variables”
Section 18.4.1.21, “Replication and Master or Slave Shutdowns”
Section 18.4.1.34, “Replication and Transaction Inconsistencies”
Section 8.14.6, “Replication Slave Connection Thread States”
Section 8.14.4, “Replication Slave I/O Thread States”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 8.14.5, “Replication Slave SQL Thread States”
Section 13.4.2.4, “RESET SLAVE Syntax”
Section 18.1.2.7, “Setting the Master Configuration on the Slave”
Section 18.3.9, “Setting Up Replication to Use Encrypted Connections”
Section 18.1.3.2, “Setting Up Replication Using GTIDs”
Section 18.1.2.6.2, “Setting Up Replication with Existing Data”
Section 18.1.2.6.1, “Setting Up Replication with New Master and Slaves”
Section 13.7.5.34, “SHOW SLAVE STATUS Syntax”
Section 18.2.4.2, “Slave Status Logs”
Section 13.4.2.6, “START SLAVE Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.3.8, “Switching Masters During Failover”
Section 15.19.7, “The InnoDB memcached Plugin and Replication”
Section 25.11.11.3, “The replication_applier_configuration Table”
Section 25.11.11.1, “The replication_connection_configuration Table”
Section 18.2.1.2, “Usage of Row-Based Logging and Replication”
Section 21.2.1.3, “User Credentials”
Section 18.1.3.3, “Using GTIDs for Failover and Scaleout”

CHANGE REPLICATION FILTER

Section 13.4.2.2, “CHANGE REPLICATION FILTER Syntax”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.2.5.4, “Replication Channel Based Filters”
Section 5.1.7, “Server Status Variables”
Section 25.11.11.8, “The replication_applier_filters Table”
Section 25.11.11.7, “The replication_applier_global_filters Table”

CHANGE REPLICATION FILTER REPLICATE_DO_DB

Section 18.1.6.3, “Replication Slave Options and Variables”

CHANGE REPLICATION FILTER REPLICATE_DO_TABLE

Section 18.1.6.3, “Replication Slave Options and Variables”

CHANGE REPLICATION FILTER REPLICATE_IGNORE_DB

Section 18.1.6.3, “Replication Slave Options and Variables”

CHANGE REPLICATION FILTER REPLICATE_IGNORE_TABLE

Section 18.1.6.3, “Replication Slave Options and Variables”

CHANGE REPLICATION FILTER REPLICATE_REWRITE_DB

Section 18.1.6.3, “Replication Slave Options and Variables”

CHANGE REPLICATION FILTER REPLICATE_WILD_DO_TABLE

Section 18.1.6.3, “Replication Slave Options and Variables”

CHANGE REPLICATION FILTER REPLICATE_WILD_IGNORE_TABLE

Section 18.1.6.3, “Replication Slave Options and Variables”

CHECK PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

CHECK TABLE

Section 13.1.7.1, “ALTER TABLE Partition Operations”
Section 2.10.1.1, “Changes Affecting Upgrades to MySQL 8.0”
Section 13.7.2.2, “CHECK TABLE Syntax”
Section 16.2.4.1, “Corrupted MyISAM Tables”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.1.19, “CREATE VIEW Syntax”
Section 8.11.5, “External Locking”
Section 7.6.3, “How to Repair MyISAM Tables”
Section 1.7, “How to Report Bugs or Problems”
Section 4.6.2, “innochecksum — Offline InnoDB File Checksum Utility”
Section 15.17.2, “InnoDB Recovery”
Section 15.20, “InnoDB Troubleshooting”
Section 22.3.4, “Maintenance of Partitions”
Section 11.3.4, “Migrating YEAR(2) Columns to YEAR(4)”
Section 7.6, “MyISAM Table Maintenance and Crash Recovery”
Section 4.6.4, “myisamchk — MyISAM Table-Maintenance Utility”
Section A.6, “MySQL 8.0 FAQ: Views”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section B.5.2.8, “MySQL server has gone away”
Section 27.7.7.77, “mysql_store_result()”
Section 4.4.5, “mysql_upgrade — Check and Upgrade MySQL Tables”
Section 27.7.7.79, “mysql_use_result()”
Section 4.5.3, “mysqlcheck — A Table Maintenance Program”
Section 16.2.4.2, “Problems from Tables Not Being Closed Properly”
Section 2.10.3, “Rebuilding or Repairing Tables or Indexes”
Section 22.6, “Restrictions and Limitations on Partitioning”
Section C.3, “Restrictions on Server-Side Cursors”
Section C.1, “Restrictions on Stored Programs”
Section C.5, “Restrictions on Views”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.5, “Server System Variables”
Section 7.6.5, “Setting Up a MyISAM Table Maintenance Schedule”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 16.5, “The ARCHIVE Storage Engine”
Section 16.7, “The MERGE Storage Engine”
Section 5.4.5, “The Slow Query Log”

CHECK TABLE ... EXTENDED

Section 13.7.2.2, “CHECK TABLE Syntax”

CHECK TABLE ... FOR UPGRADE

Section 13.7.2.2, “CHECK TABLE Syntax”
Section 13.7.2.5, “REPAIR TABLE Syntax”

CHECK TABLE QUICK

Section 13.7.2.2, “CHECK TABLE Syntax”

CHECKSUM TABLE

Section 13.7.2.3, “CHECKSUM TABLE Syntax”
Section 13.1.16, “CREATE TABLE Syntax”
Section 18.4.1.4, “Replication and CHECKSUM TABLE”

CHECKSUM TABLE ... QUICK

Section 13.7.2.3, “CHECKSUM TABLE Syntax”

COALESCE PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

COMMIT

Section 15.5.2.2, “autocommit, Commit, and Rollback”
Section 23.7, “Binary Logging of Stored Programs”
Section 8.5.5, “Bulk Data Loading for InnoDB Tables”
Section 15.8.1.4, “Converting Tables from MyISAM to InnoDB”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 15.2, “InnoDB and the ACID Model”
Section 15.20.4, “InnoDB Error Handling”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 15.8.1.7, “Limits on InnoDB Tables”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 18.1.2.4, “Obtaining the Replication Master Binary Log Coordinates”
Section 8.5.3, “Optimizing InnoDB Read-Only Transactions”
Section 25.11.7, “Performance Schema Transaction Tables”
Section 18.4.1.33, “Replication and Transactions”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 5.6.3.3.2, “Rewriter Query Rewrite Plugin Procedures and Functions”
Section 13.3.4, “SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT Syntax”
Section 5.1.7, “Server Status Variables”
Section 5.1.5, “Server System Variables”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 5.4.4, “The Binary Log”
Section 25.11.7.1, “The events_transactions_current Table”
Section 24.24, “The INFORMATION_SCHEMA TABLES Table”
Section 13.3, “Transactional and Locking Statements”
Section 23.3.1, “Trigger Syntax and Examples”
Section 18.1.3.3, “Using GTIDs for Failover and Scaleout”

COMMIT AND CHAIN

Section 25.11.7, “Performance Schema Transaction Tables”

COMPRESSION

Section 15.7.10, “InnoDB Tablespace Encryption”

CREATE DATABASE

Section 7.1, “Backup and Recovery Types”
Section 27.7.6, “C API Function Overview”
Section 10.1.5, “Configuring Application Character Set and Collation”
Section 7.4.5.2, “Copy a Database from one Server to Another”
Section 13.1.10, “CREATE DATABASE Syntax”
Section 10.1.3.3, “Database Character Set and Collation”
Section 7.4.1, “Dumping Data in SQL Format with mysqldump”
Section 18.2.5.1, “Evaluation of Database-Level Replication and Binary Logging Options”
Section 18.2.5, “How Servers Evaluate Replication Filtering Rules”
Section 9.2.2, “Identifier Case Sensitivity”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 27.7.7.8, “mysql_create_db()”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 25.6, “Performance Schema Instrument Naming Conventions”
Section 7.4.2, “Reloading SQL-Format Backups”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 10.1.3.2, “Server Character Set and Collation”
Section B.3, “Server Error Codes and Messages”
Section 13.7.5.6, “SHOW CREATE DATABASE Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”

CREATE DATABASE dbx

Section 18.2.5, “How Servers Evaluate Replication Filtering Rules”

CREATE DATABASE IF NOT EXISTS

Section 18.4.1.5, “Replication of CREATE ... IF NOT EXISTS Statements”

CREATE EVENT

Section 13.1.2, “ALTER EVENT Syntax”
Section 23.7, “Binary Logging of Stored Programs”
Section 13.1.11, “CREATE EVENT Syntax”
Section 23.4.4, “Event Metadata”
Section 23.4.3, “Event Syntax”
Section 12.14, “Information Functions”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section 18.4.1.12, “Replication of Invoked Features”
Section C.1, “Restrictions on Stored Programs”
Section 13.7.5.7, “SHOW CREATE EVENT Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.4.6, “The Event Scheduler and MySQL Privileges”
Section 24.8, “The INFORMATION_SCHEMA EVENTS Table”

CREATE EVENT IF NOT EXISTS

Section 18.4.1.5, “Replication of CREATE ... IF NOT EXISTS Statements”

CREATE FULLTEXT INDEX

Section 8.5.5, “Bulk Data Loading for InnoDB Tables”

CREATE FUNCTION

Section 28.4, “Adding New Functions to MySQL”
Section 13.1.3, “ALTER FUNCTION Syntax”
Section 23.7, “Binary Logging of Stored Programs”
Section 1.9.1, “Contributors to MySQL”
Section 13.1.12, “CREATE FUNCTION Syntax”
Section 13.7.3.1, “CREATE FUNCTION Syntax for User-Defined Functions”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.7.3.2, “DROP FUNCTION Syntax”
Section 9.2.4, “Function Name Parsing and Resolution”
Section 12.14, “Information Functions”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 6.5.4.4.1, “Installing or Uninstalling General-Purpose Keyring Functions”
Section 28.3.1.2.1, “Installing or Uninstalling the UDF Locking Interface”
Section 5.6.4.2, “Installing or Uninstalling Version Tokens”
Section 28.3, “MySQL Services for Components and Plugins”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section 18.4.1.12, “Replication of Invoked Features”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.2.1, “Stored Routine Syntax”
Section 25.11.16.4, “The user_defined_functions Table”
Section 28.4.2.1, “UDF Calling Sequences for Simple Functions”
Section 28.4.2.5, “UDF Compiling and Installing”
Section 28.4.2.6, “UDF Security Precautions”
Section 2.10.1, “Upgrading MySQL”

CREATE INDEX

Section 8.3.4, “Column Indexes”
Section 15.6.12, “Configuring the Merge Threshold for Index Pages”
Section 15.19.6.4, “Controlling Transactional Behavior of the InnoDB memcached Plugin”
Section 13.1.13, “CREATE INDEX Syntax”
Section 13.1.16, “CREATE TABLE Syntax”
Section 11.5.9, “Creating Spatial Indexes”
Section 12.9, “Full-Text Search Functions”
Section 15.9.1.5, “How Compression Works for InnoDB Tables”
Section 15.8.2.4, “InnoDB FULLTEXT Indexes”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 8.3.11, “Invisible Indexes”
Section 12.9.9, “MeCab Full-Text Parser Plugin”
MySQL Glossary
Section 12.9.8, “ngram Full-Text Parser”
Section 15.12.6, “Online DDL and Crash Recovery”
Section 15.12.1, “Online DDL Overview”
Section 15.12.2, “Online DDL Performance, Concurrency, and Space Requirements”
Section 8.7, “Optimizing for MEMORY Tables”
Section B.3, “Server Error Codes and Messages”
Section 5.1.5, “Server System Variables”
Section 13.7.5.22, “SHOW INDEX Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 5.4.5, “The Slow Query Log”

CREATE LOGFILE GROUP

Section 4.5.4, “mysqldump — A Database Backup Program”

CREATE OR REPLACE VIEW

Section 13.1.9, “ALTER VIEW Syntax”
Section 13.1.19, “CREATE VIEW Syntax”
Section C.5, “Restrictions on Views”

CREATE PROCEDURE

Section 13.1.5, “ALTER PROCEDURE Syntax”
Section 23.7, “Binary Logging of Stored Programs”
Section 13.2.1, “CALL Syntax”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 12.14, “Information Functions”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section 18.4.1.12, “Replication of Invoked Features”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.2.1, “Stored Routine Syntax”

CREATE ROLE

Section 13.7.1.2, “CREATE ROLE Syntax”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 6.3.4, “Using Roles”

CREATE SCHEMA

Section 13.1.10, “CREATE DATABASE Syntax”

CREATE SERVER

Section 13.1.6, “ALTER SERVER Syntax”
Section 16.8.2.2, “Creating a FEDERATED Table Using CREATE SERVER”
Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 13.7.6.3, “FLUSH Syntax”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 16.8.2, “How to Create FEDERATED Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.4.1.7, “Replication of CREATE SERVER, ALTER SERVER, and DROP SERVER”
Section 13.3.3, “Statements That Cause an Implicit Commit”

CREATE TABLE

Section 13.1.7.1, “ALTER TABLE Partition Operations”
Section 13.1.7, “ALTER TABLE Syntax”
Chapter 16, Alternative Storage Engines
Section 7.1, “Backup and Recovery Types”
Section 15.1.2, “Best Practices for InnoDB Tables”
Section 18.1.6.4, “Binary Logging Options and Variables”
Section 10.1.3.5, “Column Character Set and Collation”
Section 8.3.4, “Column Indexes”
Section 15.6.11.1.1, “Configuring Automatic Statistics Calculation for Persistent Optimizer Statistics”
Section 15.6.11, “Configuring Optimizer Statistics for InnoDB”
Section 15.6.11.1.2, “Configuring Optimizer Statistics Parameters for Individual Tables”
Section 15.6.12, “Configuring the Merge Threshold for Index Pages”
Section 15.8.1.4, “Converting Tables from MyISAM to InnoDB”
Section 13.1.11, “CREATE EVENT Syntax”
Section 13.1.13, “CREATE INDEX Syntax”
Section 13.1.15, “CREATE SERVER Syntax”
Section 13.1.16.4, “CREATE TABLE ... LIKE Syntax”
Section 13.1.16.5, “CREATE TABLE ... SELECT Syntax”
Section 13.1.16.8, “CREATE TABLE and Generated Columns”
Section 13.1.16.1, “CREATE TABLE Statement Retention”
Section 13.1.16, “CREATE TABLE Syntax”
Section 13.1.17, “CREATE TABLESPACE Syntax”
Section 13.1.16.3, “CREATE TEMPORARY TABLE Syntax”
Section 16.8.2.1, “Creating a FEDERATED Table Using CONNECTION”
Section 3.3.2, “Creating a Table”
Section 15.9.1.2, “Creating Compressed Tables”
Section 15.7.5, “Creating File-Per-Table Tablespaces Outside the Data Directory”
Section 15.8.1.1, “Creating InnoDB Tables”
Section 11.5.5, “Creating Spatial Columns”
Section 11.5.9, “Creating Spatial Indexes”
Section 14.7, “Data Dictionary Limitations”
Section 7.2, “Database Backup Methods”
Section 10.1.3.3, “Database Character Set and Collation”
Section 7.4.3, “Dumping Data in Delimited-Text Format with mysqldump”
Section 15.6.11.3, “Estimating ANALYZE TABLE Complexity for InnoDB Tables”
Section 1.8.3.2, “FOREIGN KEY Constraints”
Section 12.9, “Full-Text Search Functions”
Section 3.4, “Getting Information About Databases and Tables”
Section 18.1.3.1, “GTID Concepts”
Section 22.2.4, “HASH Partitioning”
Section 13.8.3, “HELP Syntax”
Section 15.9.1.5, “How Compression Works for InnoDB Tables”
Section 22.2.7, “How MySQL Partitioning Handles NULL”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 9.2.2, “Identifier Case Sensitivity”
Section 12.14, “Information Functions”
Section 15.8.1.6, “InnoDB and FOREIGN KEY Constraints”
Section 15.18, “InnoDB and MySQL Replication”
Section 15.8.2.4, “InnoDB FULLTEXT Indexes”
Section 15.7.9, “InnoDB General Tablespaces”
Section 15.14.3, “InnoDB INFORMATION_SCHEMA System Tables”
Section 15.9.2, “InnoDB Page Compression”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 15.9.1, “InnoDB Table Compression”
Section 15.7.10, “InnoDB Tablespace Encryption”
Section 8.4.4, “Internal Temporary Table Use in MySQL”
Section 15.1, “Introduction to InnoDB”
Section 8.3.11, “Invisible Indexes”
Section 22.2.5, “KEY Partitioning”
Section C.10.3, “Limits on Table Size”
Section 22.2.2, “LIST Partitioning”
Section 13.2.8, “LOAD XML Syntax”
Section 3.3.3, “Loading Data into a Table”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 22.3.1, “Management of RANGE and LIST Partitions”
Section 12.9.9, “MeCab Full-Text Parser Plugin”
Section 16.2.3, “MyISAM Table Storage Formats”
Section 1.8.1, “MySQL Extensions to Standard SQL”
MySQL Glossary
Section 4.5.1.1, “mysql Options”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 12.9.8, “ngram Full-Text Parser”
Section 15.12.1, “Online DDL Overview”
Section 8.4.1, “Optimizing Data Size”
Section 8.5.7, “Optimizing InnoDB DDL Operations”
Section 22.1, “Overview of Partitioning in MySQL”
Section 15.9.1.1, “Overview of Table Compression”
Section 22.3, “Partition Management”
Section 22.6.1, “Partitioning Keys, Primary Keys, and Unique Keys”
Section 22.6.3, “Partitioning Limitations Relating to Functions”
Section 22.2, “Partitioning Types”
Section 6.2.1, “Privileges Provided by MySQL”
Section 22.2.3.1, “RANGE COLUMNS partitioning”
Section 22.2.1, “RANGE Partitioning”
Section 7.4.4, “Reloading Delimited-Text Format Backups”
Section 13.2.9, “REPLACE Syntax”
Section 18.4.1.1, “Replication and AUTO_INCREMENT”
Section 18.4.1.3, “Replication and Character Sets”
Section 18.4.1.11, “Replication and DIRECTORY Table Options”
Section 18.4.1.14, “Replication and Fractional Seconds Support”
Section 18.4.1.16, “Replication and System Functions”
Section 18.4.1.6, “Replication of CREATE TABLE ... SELECT Statements”
Section 18.4.1.10.1, “Replication with More Columns on Master or Slave”
Section 22.6, “Restrictions and Limitations on Partitioning”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.4, “Server Command Options”
Section B.3, “Server Error Codes and Messages”
Section 5.1.8, “Server SQL Modes”
Section 5.1.5, “Server System Variables”
Section 5.4.4.2, “Setting The Binary Log Format”
Section 16.1, “Setting the Storage Engine”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.7.5.10, “SHOW CREATE TABLE Syntax”
Section 13.7.5.22, “SHOW INDEX Syntax”
Section 13.7.5.36, “SHOW TABLE STATUS Syntax”
Section 13.7.5.40, “SHOW WARNINGS Syntax”
Section 13.1.16.7, “Silent Column Specification Changes”
Section B.1, “Sources of Error Information”
Section 15.10.2, “Specifying the Row Format for a Table”
Section 15.9.1.7, “SQL Compression Syntax Warnings and Errors”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 11.1.3, “String Type Overview”
Section 22.2.6, “Subpartitioning”
Section 10.1.3.4, “Table Character Set and Collation”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 15.1.4, “Testing and Benchmarking with InnoDB”
Section 16.5, “The ARCHIVE Storage Engine”
Section 11.4.4, “The ENUM Type”
Section 24.31.18, “The INFORMATION_SCHEMA INNODB_SYS_DATAFILES Table”
Section 24.31.23, “The INFORMATION_SCHEMA INNODB_SYS_TABLES Table”
Section 24.31.24, “The INFORMATION_SCHEMA INNODB_SYS_TABLESPACES Table”
Section 24.13, “The INFORMATION_SCHEMA PARTITIONS Table”
Section 16.3, “The MEMORY Storage Engine”
Section 16.2, “The MyISAM Storage Engine”
Section 13.2.11.1, “The Subquery as Scalar Operand”
Section 13.1.31, “TRUNCATE TABLE Syntax”
Section 13.7.3.6, “UNINSTALL PLUGIN Syntax”
Section 3.6.9, “Using AUTO_INCREMENT”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”
Section 3.3.4.9, “Using More Than one Table”
Section 7.4, “Using mysqldump for Backups”
Section 18.3.4, “Using Replication with Different Master and Slave Storage Engines”
Section 8.12.2, “Using Symbolic Links”
Section 8.12.2.2, “Using Symbolic Links for MyISAM Tables on Unix”
Section C.10.5, “Windows Platform Limitations”
Section 13.2.11.9, “WITH Syntax (Common Table Expressions)”

CREATE TABLE ... ENCRYPTED

Section 15.7.10, “InnoDB Tablespace Encryption”

CREATE TABLE ... ENCRYPTION

Section 13.1.4, “ALTER INSTANCE Syntax”

CREATE TABLE ... LIKE

Section 13.1.16.4, “CREATE TABLE ... LIKE Syntax”
Section 13.1.16.8, “CREATE TABLE and Generated Columns”
Section 18.4.1.1, “Replication and AUTO_INCREMENT”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 16.7, “The MERGE Storage Engine”

CREATE TABLE ... SELECT

Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 23.7, “Binary Logging of Stored Programs”
Section 12.10, “Cast Functions and Operators”
Section 15.5.2.3, “Consistent Nonlocking Reads”
Section 13.1.16.5, “CREATE TABLE ... SELECT Syntax”
Section 13.1.16.8, “CREATE TABLE and Generated Columns”
Section 18.1.6.5, “Global Transaction ID Options and Variables”
Section B.5.7, “Known Issues in MySQL”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 18.4.2, “Replication Compatibility Between MySQL Versions”
Section 18.4.1.6, “Replication of CREATE TABLE ... SELECT Statements”
Section 18.1.3.4, “Restrictions on Replication with GTIDs”
Section 1.8.2.1, “SELECT INTO TABLE Differences”
Section 5.1.8, “Server SQL Modes”
Section 13.3.3, “Statements That Cause an Implicit Commit”

CREATE TABLE ... SELECT ...

Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 22.3.1, “Management of RANGE and LIST Partitions”

CREATE TABLE ... TABLESPACE

Section 13.1.7, “ALTER TABLE Syntax”
Section 13.1.17, “CREATE TABLESPACE Syntax”
Section 15.7.5, “Creating File-Per-Table Tablespaces Outside the Data Directory”
Section 15.8.1.1, “Creating InnoDB Tables”
Section 15.7.4.1, “Enabling and Disabling File-Per-Table Tablespaces”
Section 15.7.4, “InnoDB File-Per-Table Tablespaces”

CREATE TABLE dst_tbl LIKE src_tbl

Section 14.6, “Data Dictionary Usage Differences”

CREATE TABLE IF NOT EXISTS

Section 18.4.1.5, “Replication of CREATE ... IF NOT EXISTS Statements”

CREATE TABLE IF NOT EXISTS ... LIKE

Section 18.4.1.5, “Replication of CREATE ... IF NOT EXISTS Statements”

CREATE TABLE IF NOT EXISTS ... SELECT

Section 18.4.1.5, “Replication of CREATE ... IF NOT EXISTS Statements”

CREATE TABLE new_table SELECT ... FROM old_table ...

Section 13.1.16.5, “CREATE TABLE ... SELECT Syntax”
Section 13.2.10, “SELECT Syntax”

CREATE TABLE tbl_name ... TABLESPACE tablespace_name

Section 13.1.17, “CREATE TABLESPACE Syntax”
Section 15.4.9, “General Tablespaces”
Section 15.7.9, “InnoDB General Tablespaces”
MySQL Glossary

CREATE TABLE...AS SELECT

Section 8.2.1, “Optimizing SELECT Statements”

CREATE TABLESPACE

Section 15.7.6, “Copying File-Per-Table Tablespaces to Another Instance”
Section 13.1.27, “DROP TABLESPACE Syntax”
Section 15.11.2, “File Space Management”
Section 15.4.9, “General Tablespaces”
Section 15.7.9, “InnoDB General Tablespaces”
MySQL Glossary
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 5.1.5, “Server System Variables”
Section 24.31.23, “The INFORMATION_SCHEMA INNODB_SYS_TABLES Table”
Section 24.31.24, “The INFORMATION_SCHEMA INNODB_SYS_TABLESPACES Table”

CREATE TEMPORARY TABLE

Section 13.1.16.3, “CREATE TEMPORARY TABLE Syntax”
Section 15.9.1.2, “Creating Compressed Tables”
Section 15.10.3, “DYNAMIC and COMPRESSED Row Formats”
Section 18.1.6.5, “Global Transaction ID Options and Variables”
Section 13.7.1.6, “GRANT Syntax”
Section 13.2.5, “IMPORT TABLE Syntax”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 7.5, “Point-in-Time (Incremental) Recovery Using the Binary Log”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.1.3.4, “Restrictions on Replication with GTIDs”
Section 5.1.5, “Server System Variables”
Section 16.1, “Setting the Storage Engine”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section B.5.6.2, “TEMPORARY Table Problems”
Section 1.4, “What Is New in MySQL 8.0”

CREATE TRIGGER

Section 23.7, “Binary Logging of Stored Programs”
Section 13.1.18, “CREATE TRIGGER Syntax”
Section 12.14, “Information Functions”
Section A.5, “MySQL 8.0 FAQ: Triggers”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 8.2.2.4, “Optimizing Subqueries with the EXISTS Strategy”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section 18.4.1.12, “Replication of Invoked Features”
Section 13.7.5.11, “SHOW CREATE TRIGGER Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.3.1, “Trigger Syntax and Examples”

CREATE USER

Section 6.3.2, “Adding User Accounts”
Section 6.3.7, “Assigning Account Passwords”
Section 6.4.2, “Command Options for Encrypted Connections”
Section 15.6.2, “Configuring InnoDB for Read-Only Operation”
Section 6.4.1, “Configuring MySQL to Use Encrypted Connections”
Section 5.1.9.3, “Connecting Using the IPv6 Local Host Address”
Section 13.7.1.3, “CREATE USER Syntax”
Section 18.1.2.3, “Creating a User for Replication”
Section 12.13, “Encryption and Compression Functions”
Section 6.1.2.1, “End-User Guidelines for Password Security”
Section 13.7.6.3, “FLUSH Syntax”
Section 13.7.1.6, “GRANT Syntax”
Section 6.2.3, “Grant Tables”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 28.2.4.9.4, “Implementing Proxy User Support in Authentication Plugins”
Section 2.9.1.1, “Initializing the Data Directory Manually Using mysqld”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 5.1.9, “IPv6 Support”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 6.5.1.4, “No-Login Pluggable Authentication”
Section 6.3.8, “Password Expiration Policy”
Section 6.1.2.3, “Passwords and Logging”
Section 6.2.1, “Privileges Provided by MySQL”
Section 6.3.11, “Proxy Users”
Section 5.1.4, “Server Command Options”
Section 5.1.8, “Server SQL Modes”
Section 5.1.5, “Server System Variables”
Section 6.3.6, “Setting Account Resource Limits”
Section 6.5.1.2, “SHA-256 Pluggable Authentication”
Section 13.7.5.12, “SHOW CREATE USER Syntax”
Section 6.2.4, “Specifying Account Names”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 6.2, “The MySQL Access Privilege System”
Section 5.3, “The mysql System Database”
Section 6.5.3, “The Password Validation Plugin”
Section 6.2.9, “Troubleshooting Problems Connecting to MySQL”
Section 28.2.1, “Types of Plugins”
Section 6.3.12, “User Account Locking”
Section 6.3.1, “User Names and Passwords”
Section 6.4, “Using Encrypted Connections”
Section 6.3.4, “Using Roles”

CREATE USER ... ACCOUNT LOCK

Section B.3, “Server Error Codes and Messages”

CREATE VIEW

Section 13.1.9, “ALTER VIEW Syntax”
Section 13.1.19, “CREATE VIEW Syntax”
Section 8.14.2, “General Thread States”
Section 12.14, “Information Functions”
Section 8.2.2.3, “Optimizing Derived Tables, View References, and Common Table Expressions”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section C.5, “Restrictions on Views”
Section 9.2, “Schema Object Names”
Section 13.7.5.13, “SHOW CREATE VIEW Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 24.30, “The INFORMATION_SCHEMA VIEWS Table”
Section 23.5.3, “Updatable and Insertable Views”
Section 23.5.2, “View Processing Algorithms”
Section 23.5.1, “View Syntax”

D

[index top]

DEALLOCATE PREPARE

Section 13.5.3, “DEALLOCATE PREPARE Syntax”
Section 13.5.1, “PREPARE Syntax”
Section 13.5, “Prepared SQL Statement Syntax”
Section C.1, “Restrictions on Stored Programs”
Section 5.1.7, “Server Status Variables”
Section 25.11.6.4, “The prepared_statements_instances Table”

DECLARE

Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.6.3, “DECLARE Syntax”
Section 13.6.7.3, “GET DIAGNOSTICS Syntax”
Section 13.6.7.5, “SIGNAL Syntax”
Section 13.6.4, “Variables in Stored Programs”

DECLARE ... CONDITION

Section 13.6.7, “Condition Handling”
Section 13.6.7.1, “DECLARE ... CONDITION Syntax”
Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.6.7.5, “SIGNAL Syntax”

DECLARE ... HANDLER

Section 13.6.7, “Condition Handling”
Section 13.6.7.1, “DECLARE ... CONDITION Syntax”
Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.6.7.5.2, “Effect of Signals on Handlers, Cursors, and Statements”

DELETE

Section 15.19.6.5, “Adapting DML Statements to memcached Operations”
Section 6.3.2, “Adding User Accounts”
Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 13.1.7.1, “ALTER TABLE Partition Operations”
Section 15.1.2, “Best Practices for InnoDB Tables”
Section 18.1.6.4, “Binary Logging Options and Variables”
Section 8.6.2, “Bulk Data Loading for MyISAM Tables”
Section 27.7.6, “C API Function Overview”
Section 27.7.10, “C API Prepared Statement Function Overview”
Section 15.4.2, “Change Buffer”
Section 15.9.1.6, “Compression for OLTP Workloads”
Section 15.6.4, “Configuring InnoDB Change Buffering”
Section 15.5.2.3, “Consistent Nonlocking Reads”
Section 15.8.1.4, “Converting Tables from MyISAM to InnoDB”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.1.18, “CREATE TRIGGER Syntax”
Section 13.1.19, “CREATE VIEW Syntax”
Section 13.2.2, “DELETE Syntax”
Section B.5.4.6, “Deleting Rows from Related Tables”
Section 8.8.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 8.8.3, “Extended EXPLAIN Output Format”
Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 15.20.2, “Forcing InnoDB Recovery”
Section 12.9.5, “Full-Text Restrictions”
Chapter 12, Functions and Operators
Section 8.14.2, “General Thread States”
Section 13.7.1.6, “GRANT Syntax”
Section 6.2.3, “Grant Tables”
Section 12.14, “Information Functions”
Chapter 24, INFORMATION_SCHEMA Tables
Section 15.18, “InnoDB and MySQL Replication”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 8.11.1, “Internal Locking Methods”
Section 13.2.10.2, “JOIN Syntax”
Section 9.3, “Keywords and Reserved Words”
Section 13.7.6.4, “KILL Syntax”
Section B.5.7, “Known Issues in MySQL”
Section 22.2.2, “LIST Partitioning”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 22.3.1, “Management of RANGE and LIST Partitions”
Section 16.7.2, “MERGE Table Problems”
Section 1.8.1, “MySQL Extensions to Standard SQL”
MySQL Glossary
Section 4.5.1.1, “mysql Options”
Section 27.7.7.1, “mysql_affected_rows()”
Section 27.7.7.49, “mysql_num_rows()”
Section 27.7.11.10, “mysql_stmt_execute()”
Section 27.7.11.13, “mysql_stmt_field_count()”
Section 27.7.11.18, “mysql_stmt_num_rows()”
Section 8.8.4, “Obtaining Execution Plan Information for a Named Connection”
Section 15.12.1, “Online DDL Overview”
Section 8.9.2, “Optimizer Hints”
Section 8.2.5, “Optimizing Data Change Statements”
Section 8.8.1, “Optimizing Queries with EXPLAIN”
Section 8.2.1, “Optimizing SELECT Statements”
Section 8.2.2, “Optimizing Subqueries, Derived Tables, View References, and Common Table Expressions”
Section 22.1, “Overview of Partitioning in MySQL”
Section 22.4, “Partition Pruning”
Section 22.5, “Partition Selection”
Section 6.2.1, “Privileges Provided by MySQL”
Section 22.2.1, “RANGE Partitioning”
Section 18.4.1.17, “Replication and LIMIT”
Section 18.4.1.23, “Replication and MEMORY Tables”
Section 18.4.1.26, “Replication and the Query Optimizer”
Section 18.4.1.35, “Replication and Triggers”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 13.2.11.12, “Rewriting Subqueries as Joins”
Section 3.3.4.1, “Selecting All Data”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.4, “Server Command Options”
Section 5.1.8, “Server SQL Modes”
Section 5.1.7, “Server Status Variables”
Section 5.1.5, “Server System Variables”
Section 13.2.11.10, “Subquery Errors”
Section 13.2.11, “Subquery Syntax”
Section 8.11.2, “Table Locking Issues”
Section 16.5, “The ARCHIVE Storage Engine”
Section 5.4.4, “The Binary Log”
Section 16.6, “The BLACKHOLE Storage Engine”
Section 24.31.25, “The INFORMATION_SCHEMA INNODB_SYS_TABLESTATS View”
Section 24.24, “The INFORMATION_SCHEMA TABLES Table”
Section 24.30, “The INFORMATION_SCHEMA VIEWS Table”
Section 1.3.2, “The Main Features of MySQL”
Section 16.3, “The MEMORY Storage Engine”
Section 16.7, “The MERGE Storage Engine”
Section 6.2, “The MySQL Access Privilege System”
Section 15.5.2.1, “Transaction Isolation Levels”
Section 23.3.1, “Trigger Syntax and Examples”
Section 6.2.9, “Troubleshooting Problems Connecting to MySQL”
Section 13.1.31, “TRUNCATE TABLE Syntax”
Section 23.5.3, “Updatable and Insertable Views”
Section 18.2.1.2, “Usage of Row-Based Logging and Replication”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”
Section 4.5.1.6.4, “Using the --safe-updates Option”
Section 27.7.24.2, “What Results You Can Get from a Query”
Section 6.2.8, “When Privilege Changes Take Effect”
Section 8.2.1.1, “WHERE Clause Optimization”
Section 27.7.24.1, “Why mysql_store_result() Sometimes Returns NULL After mysql_query() Returns Success”
Section 13.2.11.9, “WITH Syntax (Common Table Expressions)”

DELETE FROM ... WHERE ...

Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”

DELETE FROM a.t

Section 18.1.6.3, “Replication Slave Options and Variables”

DESCRIBE

Section 27.7.5, “C API Data Structures”
Section 27.7.6, “C API Function Overview”
Section 13.1.16.1, “CREATE TABLE Statement Retention”
Section 3.3.2, “Creating a Table”
Section 13.8.1, “DESCRIBE Syntax”
Section 13.8.2, “EXPLAIN Syntax”
Section 24.33, “Extensions to SHOW Statements”
Section 3.4, “Getting Information About Databases and Tables”
Section 8.4.4, “Internal Temporary Table Use in MySQL”
Section 27.7.11.28, “mysql_stmt_store_result()”
Section 27.7.7.77, “mysql_store_result()”
Section 27.7.7.79, “mysql_use_result()”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.1.16.7, “Silent Column Specification Changes”
Section 24.31.1, “The INFORMATION_SCHEMA INNODB_BUFFER_PAGE Table”
Section 24.31.2, “The INFORMATION_SCHEMA INNODB_BUFFER_PAGE_LRU Table”
Section 24.31.3, “The INFORMATION_SCHEMA INNODB_BUFFER_POOL_STATS Table”
Section 24.31.4, “The INFORMATION_SCHEMA INNODB_CACHED_INDEXES Table”
Section 24.31.5, “The INFORMATION_SCHEMA INNODB_CMP and INNODB_CMP_RESET Tables”
Section 24.31.7, “The INFORMATION_SCHEMA INNODB_CMP_PER_INDEX and INNODB_CMP_PER_INDEX_RESET Tables”
Section 24.31.6, “The INFORMATION_SCHEMA INNODB_CMPMEM and INNODB_CMPMEM_RESET Tables”
Section 24.31.8, “The INFORMATION_SCHEMA INNODB_FT_BEING_DELETED Table”
Section 24.31.9, “The INFORMATION_SCHEMA INNODB_FT_CONFIG Table”
Section 24.31.10, “The INFORMATION_SCHEMA INNODB_FT_DEFAULT_STOPWORD Table”
Section 24.31.11, “The INFORMATION_SCHEMA INNODB_FT_DELETED Table”
Section 24.31.12, “The INFORMATION_SCHEMA INNODB_FT_INDEX_CACHE Table”
Section 24.31.13, “The INFORMATION_SCHEMA INNODB_FT_INDEX_TABLE Table”
Section 24.31.16, “The INFORMATION_SCHEMA INNODB_METRICS Table”
Section 24.31.17, “The INFORMATION_SCHEMA INNODB_SYS_COLUMNS Table”
Section 24.31.18, “The INFORMATION_SCHEMA INNODB_SYS_DATAFILES Table”
Section 24.31.19, “The INFORMATION_SCHEMA INNODB_SYS_FIELDS Table”
Section 24.31.20, “The INFORMATION_SCHEMA INNODB_SYS_FOREIGN Table”
Section 24.31.21, “The INFORMATION_SCHEMA INNODB_SYS_FOREIGN_COLS Table”
Section 24.31.22, “The INFORMATION_SCHEMA INNODB_SYS_INDEXES Table”
Section 24.31.23, “The INFORMATION_SCHEMA INNODB_SYS_TABLES Table”
Section 24.31.24, “The INFORMATION_SCHEMA INNODB_SYS_TABLESPACES Table”
Section 24.31.25, “The INFORMATION_SCHEMA INNODB_SYS_TABLESTATS View”
Section 24.31.26, “The INFORMATION_SCHEMA INNODB_SYS_VIRTUAL Table”
Section 24.31.27, “The INFORMATION_SCHEMA INNODB_TEMP_TABLE_INFO Table”
Section 24.31.28, “The INFORMATION_SCHEMA INNODB_TRX Table”
Section 3.6.6, “Using Foreign Keys”
Section 10.1.2.2, “UTF-8 for Metadata”

DISCARD PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

DISCARD PARTITION ... TABLESPACE

Section 13.1.7.1, “ALTER TABLE Partition Operations”

DO

Section 13.1.2, “ALTER EVENT Syntax”
Section 23.7, “Binary Logging of Stored Programs”
Section 13.1.11, “CREATE EVENT Syntax”
Section 13.2.3, “DO Syntax”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 12.21, “Miscellaneous Functions”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section C.1, “Restrictions on Stored Programs”
Section 13.2.11, “Subquery Syntax”
Section 24.8, “The INFORMATION_SCHEMA EVENTS Table”

DROP DATABASE

Section 13.7.2.1, “ANALYZE TABLE Syntax”
Section 27.7.6, “C API Function Overview”
Section 13.1.20, “DROP DATABASE Syntax”
Section 13.1.27, “DROP TABLESPACE Syntax”
Section 7.4.1, “Dumping Data in SQL Format with mysqldump”
Section 18.2.5.1, “Evaluation of Database-Level Replication and Binary Logging Options”
Section 18.2.5, “How Servers Evaluate Replication Filtering Rules”
Section 15.7.9, “InnoDB General Tablespaces”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 27.7.7.11, “mysql_drop_db()”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 7.5, “Point-in-Time (Incremental) Recovery Using the Binary Log”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 2.10.1, “Upgrading MySQL”
Section C.10.5, “Windows Platform Limitations”

DROP DATABASE IF EXISTS

Section 18.4.1.9, “Replication of DROP ... IF EXISTS Statements”

DROP EVENT

Section 23.7, “Binary Logging of Stored Programs”
Section 23.4.3, “Event Syntax”
Section 18.4.1.12, “Replication of Invoked Features”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.4.6, “The Event Scheduler and MySQL Privileges”

DROP FUNCTION

Section 28.4, “Adding New Functions to MySQL”
Section 13.1.3, “ALTER FUNCTION Syntax”
Section 23.7, “Binary Logging of Stored Programs”
Section 1.9.1, “Contributors to MySQL”
Section 13.7.3.1, “CREATE FUNCTION Syntax for User-Defined Functions”
Section 13.1.22, “DROP FUNCTION Syntax”
Section 13.7.3.2, “DROP FUNCTION Syntax”
Section 13.1.24, “DROP PROCEDURE and DROP FUNCTION Syntax”
Section 9.2.4, “Function Name Parsing and Resolution”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 6.5.4.4.1, “Installing or Uninstalling General-Purpose Keyring Functions”
Section 28.3.1.2.1, “Installing or Uninstalling the UDF Locking Interface”
Section 5.6.4.2, “Installing or Uninstalling Version Tokens”
Section 28.3, “MySQL Services for Components and Plugins”
Section 18.4.1.12, “Replication of Invoked Features”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.2.1, “Stored Routine Syntax”
Section 28.4.2.5, “UDF Compiling and Installing”
Section 28.4.2.6, “UDF Security Precautions”
Section 2.10.1, “Upgrading MySQL”

DROP INDEX

Section 13.1.7, “ALTER TABLE Syntax”
Section 11.5.9, “Creating Spatial Indexes”
Section 13.1.23, “DROP INDEX Syntax”
Section 1.8.1, “MySQL Extensions to Standard SQL”
MySQL Glossary
Section 15.12.1, “Online DDL Overview”
Section 5.1.5, “Server System Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 5.4.5, “The Slow Query Log”

DROP PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

DROP PREPARE

Section 25.11.6.4, “The prepared_statements_instances Table”

DROP PROCEDURE

Section 13.1.5, “ALTER PROCEDURE Syntax”
Section 23.7, “Binary Logging of Stored Programs”
Section 18.4.1.12, “Replication of Invoked Features”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.2.1, “Stored Routine Syntax”

DROP ROLE

Section 13.7.1.4, “DROP ROLE Syntax”
Section 6.2.1, “Privileges Provided by MySQL”
Section 5.1.5, “Server System Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 6.3.4, “Using Roles”

DROP SCHEMA

Section 13.1.20, “DROP DATABASE Syntax”
Section 5.1.5, “Server System Variables”

DROP SERVER

Section 13.7.6.3, “FLUSH Syntax”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.4.1.7, “Replication of CREATE SERVER, ALTER SERVER, and DROP SERVER”
Section 13.3.3, “Statements That Cause an Implicit Commit”

DROP TABLE

Section 13.1.7, “ALTER TABLE Syntax”
Section 13.7.2.1, “ANALYZE TABLE Syntax”
Section 15.5.2.3, “Consistent Nonlocking Reads”
Section 13.1.17, “CREATE TABLESPACE Syntax”
Section 13.1.16.3, “CREATE TEMPORARY TABLE Syntax”
Section 13.1.18, “CREATE TRIGGER Syntax”
Section 14.7, “Data Dictionary Limitations”
Section 13.1.26, “DROP TABLE Syntax”
Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 15.20.2, “Forcing InnoDB Recovery”
Section 18.1.6.5, “Global Transaction ID Options and Variables”
Section 13.6.7.7.3, “How the Diagnostics Area is Populated”
Section 12.14, “Information Functions”
Section 15.7.4, “InnoDB File-Per-Table Tablespaces”
Section 15.7.9, “InnoDB General Tablespaces”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 16.7.2, “MERGE Table Problems”
Section 1.8.1, “MySQL Extensions to Standard SQL”
MySQL Glossary
Section 4.5.1.1, “mysql Options”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 8.5.7, “Optimizing InnoDB DDL Operations”
Section 6.2.1, “Privileges Provided by MySQL”
Section C.5, “Restrictions on Views”
Section 13.6.7.6, “Scope Rules for Handlers”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.5, “Server System Variables”
Section 5.4.4.2, “Setting The Binary Log Format”
Section 13.7.5.37, “SHOW TABLES Syntax”
Section 13.6.7.5, “SIGNAL Syntax”
Section 13.4.2.6, “START SLAVE Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 5.4.6, “The DDL Log”
Section 16.3, “The MEMORY Storage Engine”
Section 16.7, “The MERGE Storage Engine”
Section 15.20.3, “Troubleshooting InnoDB Data Dictionary Operations”
Section 13.1.31, “TRUNCATE TABLE Syntax”
Section 28.2.1, “Types of Plugins”
Section 13.7.3.6, “UNINSTALL PLUGIN Syntax”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”

DROP TABLE IF EXISTS

Section 18.4.1.9, “Replication of DROP ... IF EXISTS Statements”

DROP TABLESPACE

Section 15.7.9, “InnoDB General Tablespaces”
Section 5.1.5, “Server System Variables”

DROP TABLESPACE tablespace_name

Section 15.7.9, “InnoDB General Tablespaces”

DROP TEMPORARY TABLE

Section 18.1.6.5, “Global Transaction ID Options and Variables”
Section 18.1.3.4, “Restrictions on Replication with GTIDs”

DROP TEMPORARY TABLE IF EXISTS

Section 18.2.1.2, “Usage of Row-Based Logging and Replication”

DROP TRIGGER

Section 13.1.28, “DROP TRIGGER Syntax”
Section A.5, “MySQL 8.0 FAQ: Triggers”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 18.4.1.12, “Replication of Invoked Features”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.3.1, “Trigger Syntax and Examples”

DROP USER

Section 13.7.1.5, “DROP USER Syntax”
Section 13.7.6.3, “FLUSH Syntax”
Section 13.7.1.6, “GRANT Syntax”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 12.14, “Information Functions”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 6.2.1, “Privileges Provided by MySQL”
Section 6.3.3, “Removing User Accounts”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section 13.7.1.8, “REVOKE Syntax”
Section 5.1.5, “Server System Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.4.6, “The Event Scheduler and MySQL Privileges”
Section 6.3.1, “User Names and Passwords”
Section 6.3.4, “Using Roles”

DROP USER 'x'@'localhost'

Section 28.2.4.9.3, “Using the Authentication Plugins”

DROP VIEW

Section 13.1.29, “DROP VIEW Syntax”
Section C.5, “Restrictions on Views”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 23.5.1, “View Syntax”

DROP VIEW IF EXISTS

Section 18.4.1.9, “Replication of DROP ... IF EXISTS Statements”

E

[index top]

ENCRYPTION

Section 15.7.10, “InnoDB Tablespace Encryption”

EXCHANGE PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

EXECUTE

Section 27.7.21, “C API Prepared CALL Statement Support”
Section 13.2.1, “CALL Syntax”
Section 13.5.2, “EXECUTE Syntax”
Section 13.5.1, “PREPARE Syntax”
Section 13.5, “Prepared SQL Statement Syntax”
Section C.1, “Restrictions on Stored Programs”
Section 5.1.7, “Server Status Variables”
Section 25.11.6.4, “The prepared_statements_instances Table”

EXPLAIN

Section 13.1.7, “ALTER TABLE Syntax”
Section 8.2.1.20, “Avoiding Full Table Scans”
Section 8.2.1.11, “Block Nested-Loop and Batched Key Access Joins”
Section 27.7.5, “C API Data Structures”
Section 27.7.6, “C API Function Overview”
Section 8.3.4, “Column Indexes”
Section 15.6.11.1.3, “Configuring the Number of Sampled Pages for InnoDB Optimizer Statistics”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 28.5.1, “Debugging a MySQL Server”
Section 13.2.11.8, “Derived Tables (Subqueries in the FROM Clause)”
Section 13.8.1, “DESCRIBE Syntax”
Section 8.2.1.15, “DISTINCT Optimization”
Section 8.2.1.4, “Engine Condition Pushdown Optimization”
Section 8.8.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 8.8.3, “Extended EXPLAIN Output Format”
Section 12.16.3, “Functions That Search JSON Values”
Section 8.2.1.14, “GROUP BY Optimization”
Section 8.2.1.5, “Index Condition Pushdown Optimization”
Section 8.9.4, “Index Hints”
Section 8.2.1.3, “Index Merge Optimization”
Chapter 24, INFORMATION_SCHEMA Tables
Section 8.4.4, “Internal Temporary Table Use in MySQL”
Section 8.3.11, “Invisible Indexes”
Section 8.2.1.12, “IS NULL Optimization”
Section 12.21, “Miscellaneous Functions”
Section 8.2.1.10, “Multi-Range Read Optimization”
Chapter 25, MySQL Performance Schema
Section 27.7.11.28, “mysql_stmt_store_result()”
Section 27.7.7.77, “mysql_store_result()”
Section 27.7.7.79, “mysql_use_result()”
Section 8.8.4, “Obtaining Execution Plan Information for a Named Connection”
Section 22.3.5, “Obtaining Information About Partitions”
Section 8.9.2, “Optimizer Hints”
Section 8.3.10, “Optimizer Use of Generated Column Indexes”
Section B.5.5, “Optimizer-Related Issues”
Section 8.2.2.3, “Optimizing Derived Tables, View References, and Common Table Expressions”
Section 8.2.3, “Optimizing INFORMATION_SCHEMA Queries”
Section 8.2.4, “Optimizing Performance Schema Queries”
Section 8.8.1, “Optimizing Queries with EXPLAIN”
Section 8.2.1, “Optimizing SELECT Statements”
Section 13.2.11.11, “Optimizing Subqueries”
Section 8.2.2.2, “Optimizing Subqueries with Materialization”
Section 8.2.2.4, “Optimizing Subqueries with the EXISTS Strategy”
Section 8.2.2.1, “Optimizing Subqueries, Derived Tables, View References, and Common Table Expressions with Semi-Join Transformations”
Section 8.2.1.13, “ORDER BY Optimization”
Section 6.2.1, “Privileges Provided by MySQL”
Section 8.2.1.2, “Range Optimization”
Section C.1, “Restrictions on Stored Programs”
Section 13.1.16.9, “Secondary Indexes and Generated Columns”
Section 13.2.10, “SELECT Syntax”
Section B.3, “Server Error Codes and Messages”
Section 13.7.5.40, “SHOW WARNINGS Syntax”
Section B.5.4.7, “Solving Problems with No Matching Rows”
Section 1.3.2, “The Main Features of MySQL”
Section 26.4.4.22, “The ps_trace_statement_digest() Procedure”
Section 8.8, “Understanding the Query Execution Plan”
Section 8.3.9, “Use of Index Extensions”
Section 28.5.1.6, “Using Server Logs to Find Causes of Errors in mysqld”
Section 11.5.10, “Using Spatial Indexes”
Section 8.3.6, “Verifying Index Usage”
Section 1.4, “What Is New in MySQL 8.0”
Section 8.2.1.18, “Window Function Optimization”
Section 13.2.11.9, “WITH Syntax (Common Table Expressions)”

EXPLAIN FOR CONNECTION

Section 8.8.2, “EXPLAIN Output Format”
Section 8.8.4, “Obtaining Execution Plan Information for a Named Connection”
Section 5.1.7, “Server Status Variables”

EXPLAIN FORMAT=JSON

Section 8.2.1.18, “Window Function Optimization”

EXPLAIN SELECT

Section 13.2.11.8, “Derived Tables (Subqueries in the FROM Clause)”
Section 8.8.2, “EXPLAIN Output Format”
Section 15.5.5.3, “How to Minimize and Handle Deadlocks”
Section 1.7, “How to Report Bugs or Problems”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 22.3.5, “Obtaining Information About Partitions”

EXPLAIN SELECT ... ORDER BY

Section 8.2.1.13, “ORDER BY Optimization”

EXPLAIN SELECT COUNT()

Section 22.2.1, “RANGE Partitioning”

EXPLAIN tbl_name

Section 8.8.1, “Optimizing Queries with EXPLAIN”

F

[index top]

FETCH

Section 13.6.6.2, “Cursor DECLARE Syntax”
Section 13.6.6.3, “Cursor FETCH Syntax”
Section C.1, “Restrictions on Stored Programs”

FETCH ... INTO var_list

Section 13.6.4, “Variables in Stored Programs”

FLUSH

Section 7.3.1, “Establishing a Backup Policy”
Section 13.7.6.3, “FLUSH Syntax”
Section 13.7.1.6, “GRANT Syntax”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 27.7.7.58, “mysql_refresh()”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.4.1.15, “Replication and FLUSH”
Section 13.7.6.6, “RESET Syntax”
Section C.1, “Restrictions on Stored Programs”
Section 5.1.11, “Server Response to Signals”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 1.4, “What Is New in MySQL 8.0”

FLUSH BINARY LOGS

Section 13.7.6.3, “FLUSH Syntax”
Section 13.4.1.2, “RESET MASTER Syntax”
Section 5.4.7, “Server Log Maintenance”

FLUSH DES_KEY_FILE

Section 13.7.6.3, “FLUSH Syntax”

FLUSH ENGINE LOGS

Section 13.7.6.3, “FLUSH Syntax”

FLUSH ERROR LOGS

Section 13.7.6.3, “FLUSH Syntax”
Section 5.4.2, “The Error Log”

FLUSH GENERAL LOGS

Section 13.7.6.3, “FLUSH Syntax”

FLUSH HOSTS

Section 8.12.4.2, “DNS Lookup Optimization and the Host Cache”
Section 13.7.6.3, “FLUSH Syntax”
Section B.5.2.5, “Host 'host_name' is blocked”
Section 27.7.7.58, “mysql_refresh()”
Section 5.1.5, “Server System Variables”
Section 25.11.16.1, “The host_cache Table”

FLUSH LOGS

Section 7.3.3, “Backup Strategy Summary”
Section 7.2, “Database Backup Methods”
Section 18.1.5.3, “Disabling GTID Transactions Online”
Section 18.1.5.2, “Enabling GTID Transactions Online”
Section 7.3.1, “Establishing a Backup Policy”
Section 13.7.6.3, “FLUSH Syntax”
Section 5.4, “MySQL Server Logs”
Section 27.7.7.58, “mysql_refresh()”
Section 4.5.2, “mysqladmin — Client for Administering a MySQL Server”
Section 18.4.1.15, “Replication and FLUSH”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.4.7, “Server Log Maintenance”
Section 5.1.7, “Server Status Variables”
Section 5.4.2, “The Error Log”
Section 18.2.4.1, “The Slave Relay Log”
Section 18.1.3.3, “Using GTIDs for Failover and Scaleout”

FLUSH OPTIMIZER_COSTS

Section 13.7.6.3, “FLUSH Syntax”
Section 8.9.5, “The Optimizer Cost Model”

FLUSH PRIVILEGES

Section 13.7.6.3, “FLUSH Syntax”
Section 6.2.3, “Grant Tables”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 27.7.7.58, “mysql_refresh()”
Section 27.7.7.59, “mysql_reload()”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 18.4.1.15, “Replication and FLUSH”
Section 5.1.4, “Server Command Options”
Section 6.3.6, “Setting Account Resource Limits”
Section 6.2.2, “Static Versus Dynamic Privileges”
Section 6.2.9, “Troubleshooting Problems Connecting to MySQL”
Section 1.2, “Typographical and Syntax Conventions”
Section 6.3.4, “Using Roles”
Section 6.2.8, “When Privilege Changes Take Effect”

FLUSH QUERY CACHE

Section 13.7.6.3, “FLUSH Syntax”

FLUSH RELAY LOGS

Section 18.2.3.1, “Commands for Operations on a Single Channel”
Section 18.2.3.2, “Compatibility with Previous Replication Statements”
Section 13.7.6.3, “FLUSH Syntax”

FLUSH RELAY LOGS FOR CHANNEL channel

Section 13.7.6.3, “FLUSH Syntax”

FLUSH SLOW LOGS

Section 13.7.6.3, “FLUSH Syntax”

FLUSH STATUS

Section 13.7.6.3, “FLUSH Syntax”
Section 27.7.7.58, “mysql_refresh()”
Section 25.11.14, “Performance Schema Status Variable Tables”
Section 5.1.7, “Server Status Variables”
Section 25.11.15.12, “Status Variable Summary Tables”
Section 8.3.9, “Use of Index Extensions”

FLUSH TABLE

Section 13.7.6.3, “FLUSH Syntax”

FLUSH TABLES

Section 8.6.2, “Bulk Data Loading for MyISAM Tables”
Section 8.10.3, “Caching of Prepared Statements and Stored Programs”
Section 13.7.6.3, “FLUSH Syntax”
Section 8.14.2, “General Thread States”
Section 13.2.4, “HANDLER Syntax”
Section 8.4.3.1, “How MySQL Opens and Closes Tables”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 16.7.2, “MERGE Table Problems”
Section 4.6.4, “myisamchk — MyISAM Table-Maintenance Utility”
Section 27.7.7.58, “mysql_refresh()”
Section 18.1.2.4, “Obtaining the Replication Master Binary Log Coordinates”
Section 16.2.4.2, “Problems from Tables Not Being Closed Properly”
Section 18.4.1.15, “Replication and FLUSH”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.7, “Server Status Variables”
Section 5.1.5, “Server System Variables”
Section 8.3.9, “Use of Index Extensions”

FLUSH TABLES ... FOR EXPORT

Section 15.7.5, “Creating File-Per-Table Tablespaces Outside the Data Directory”
Section 13.7.6.3, “FLUSH Syntax”
Section 15.8.1.3, “Moving or Copying InnoDB Tables”
MySQL Glossary
Section 15.7.6.1, “Transportable Tablespace Examples”
Section 15.7.6.2, “Transportable Tablespace Internals”

FLUSH TABLES ...FOR EXPORT

Section 13.7.6.3, “FLUSH Syntax”

FLUSH TABLES tbl_name ...

Section 13.7.6.3, “FLUSH Syntax”

FLUSH TABLES tbl_name ... FOR EXPORT

Section 13.7.6.3, “FLUSH Syntax”

FLUSH TABLES tbl_name ... WITH READ LOCK

Section 13.7.6.3, “FLUSH Syntax”

FLUSH TABLES tbl_name WITH READ LOCK

Section 13.2.4, “HANDLER Syntax”

FLUSH TABLES WITH READ LOCK

Section 7.2, “Database Backup Methods”
Section 7.3.1, “Establishing a Backup Policy”
Section 13.7.6.3, “FLUSH Syntax”
Section 8.14.2, “General Thread States”
Section 13.3.5.1, “Interaction of Table Locking and Transactions”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 18.1.2.4, “Obtaining the Replication Master Binary Log Coordinates”
Section 18.4.1.15, “Replication and FLUSH”
Section C.6, “Restrictions on XA Transactions”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.5, “Server System Variables”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 25.11.12.3, “The metadata_locks Table”

FLUSH USER_RESOURCES

Section 13.7.6.3, “FLUSH Syntax”
Section 6.3.6, “Setting Account Resource Limits”

G

[index top]

GET DIAGNOSTICS

Section 13.6.7, “Condition Handling”
Section 13.6.7.3, “GET DIAGNOSTICS Syntax”
Section 13.6.7.7.3, “How the Diagnostics Area is Populated”
Section 13.6.7.7.4, “How the Diagnostics Area Stack Works”
Section 13.6.7.4, “RESIGNAL Syntax”
Section C.2, “Restrictions on Condition Handling”
Section C.1, “Restrictions on Stored Programs”
Section 5.1.5, “Server System Variables”
Section 13.7.5.40, “SHOW WARNINGS Syntax”
Section 13.6.7.5.1, “Signal Condition Information Items”
Section 13.6.7.5, “SIGNAL Syntax”
Section B.1, “Sources of Error Information”

GET STACKED DIAGNOSTICS

Section 13.6.7.3, “GET DIAGNOSTICS Syntax”
Section 13.6.7.7.4, “How the Diagnostics Area Stack Works”

GRANT

Section 6.2.7, “Access Control, Stage 2: Request Verification”
Section 6.3.2, “Adding User Accounts”
Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 15.6.2, “Configuring InnoDB for Read-Only Operation”
Section 5.1.9.3, “Connecting Using the IPv6 Local Host Address”
Section 13.7.1.3, “CREATE USER Syntax”
Section 18.1.2.3, “Creating a User for Replication”
Section 12.13, “Encryption and Compression Functions”
Section 13.7.6.3, “FLUSH Syntax”
Section 13.7.1.6, “GRANT Syntax”
Section 6.2.3, “Grant Tables”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 28.2.4.9.4, “Implementing Proxy User Support in Authentication Plugins”
Section 12.14, “Information Functions”
Section 2.9.1.1, “Initializing the Data Directory Manually Using mysqld”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 5.1.9, “IPv6 Support”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section A.13, “MySQL 8.0 FAQ: Replication”
MySQL Glossary
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 8.2.6, “Optimizing Database Privileges”
Section 6.1.2.3, “Passwords and Logging”
Section 6.2.1, “Privileges Provided by MySQL”
Section 6.3.11, “Proxy Users”
Section 18.4.1.15, “Replication and FLUSH”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section 18.4.1.25, “Replication of the mysql System Database”
Section 13.7.1.8, “REVOKE Syntax”
Section 6.1.1, “Security Guidelines”
Section 5.1.4, “Server Command Options”
Section 5.1.8, “Server SQL Modes”
Section 5.1.5, “Server System Variables”
Section 13.7.5.21, “SHOW GRANTS Syntax”
Section 6.2.4, “Specifying Account Names”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 6.2.2, “Static Versus Dynamic Privileges”
Section 23.4.6, “The Event Scheduler and MySQL Privileges”
Section 6.2, “The MySQL Access Privilege System”
Section 5.3, “The mysql System Database”
Section 6.5.3, “The Password Validation Plugin”
Section 6.2.9, “Troubleshooting Problems Connecting to MySQL”
Section 6.3.1, “User Names and Passwords”
Section 6.3.4, “Using Roles”
Section 20.7.1, “Using Secure Connections with X Plugin”
Section 6.2.8, “When Privilege Changes Take Effect”

GRANT ALL

Section 13.7.1.6, “GRANT Syntax”

GRANT EVENT

Section 23.4.6, “The Event Scheduler and MySQL Privileges”

GROUP BY

Section 15.1.1, “Benefits of Using InnoDB Tables”

H

[index top]

HANDLER

Section 27.7.23, “C API Automatic Reconnection Control”
Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 13.7.6.3, “FLUSH Syntax”
Section A.4, “MySQL 8.0 FAQ: Stored Procedures and Functions”
Section 1.8, “MySQL Standards Compliance”
Section 27.7.7.3, “mysql_change_user()”
Section 27.7.7.60, “mysql_reset_connection()”
Section 5.1.5, “Server System Variables”

HANDLER ... CLOSE

Section 13.7.5.24, “SHOW OPEN TABLES Syntax”

HANDLER ... OPEN

Section 13.7.5.24, “SHOW OPEN TABLES Syntax”

HANDLER ... READ

Section C.1, “Restrictions on Stored Programs”

HANDLER OPEN

Section 13.2.4, “HANDLER Syntax”
Section B.3, “Server Error Codes and Messages”
Section 13.1.31, “TRUNCATE TABLE Syntax”

HELP

Section 13.8.3, “HELP Syntax”
Section 18.4.1.29, “Replication of Server-Side Help Tables”
Section 5.1.10, “Server-Side Help”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”

I

[index top]

IF

Section 8.10.3, “Caching of Prepared Statements and Stored Programs”
Section 12.4, “Control Flow Functions”
Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.6.5, “Flow Control Statements”
Section 13.6.5.2, “IF Syntax”

IMPORT PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

IMPORT PARTITION ... TABLESPACE

Section 13.1.7.1, “ALTER TABLE Partition Operations”

IMPORT TABLE

Section 13.2.5, “IMPORT TABLE Syntax”
Section 13.2.7, “LOAD DATA INFILE Syntax”
MySQL Glossary

INSERT

Section 6.2.7, “Access Control, Stage 2: Request Verification”
Section 6.3.2, “Adding User Accounts”
Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”
Section 15.5.2.2, “autocommit, Commit, and Rollback”
Section 7.1, “Backup and Recovery Types”
Section 15.1.2, “Best Practices for InnoDB Tables”
Section 23.7, “Binary Logging of Stored Programs”
Section 8.5.5, “Bulk Data Loading for InnoDB Tables”
Section 8.6.2, “Bulk Data Loading for MyISAM Tables”
Section 27.7.6, “C API Function Overview”
Section 27.7.19, “C API Multiple Statement Execution Support”
Section 27.7.10, “C API Prepared Statement Function Overview”
Section 8.10.3, “Caching of Prepared Statements and Stored Programs”
Section 15.4.2, “Change Buffer”
Section 10.1.7, “Column Character Set Conversion”
Section 15.9.1.6, “Compression for OLTP Workloads”
Section 8.11.3, “Concurrent Inserts”
Section 15.6.4, “Configuring InnoDB Change Buffering”
Section 1.8.3.3, “Constraints on Invalid Data”
Section 15.8.1.4, “Converting Tables from MyISAM to InnoDB”
Section 13.1.13, “CREATE INDEX Syntax”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.1.16.8, “CREATE TABLE and Generated Columns”
Section 13.1.16.3, “CREATE TEMPORARY TABLE Syntax”
Section 13.1.18, “CREATE TRIGGER Syntax”
Section 13.1.19, “CREATE VIEW Syntax”
Section 16.8.2.1, “Creating a FEDERATED Table Using CONNECTION”
Section 11.7, “Data Type Default Values”
Section 11.1.2, “Date and Time Type Overview”
Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.2.2, “DELETE Syntax”
Section 18.2.1.3, “Determination of Safe and Unsafe Statements in Binary Logging”
Section 7.3.1, “Establishing a Backup Policy”
Section 8.8.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 12.22.3, “Expression Handling”
Section 8.8.3, “Extended EXPLAIN Output Format”
Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 15.20.2, “Forcing InnoDB Recovery”
Section 12.9.5, “Full-Text Restrictions”
Section 8.14.2, “General Thread States”
Section 13.7.1.6, “GRANT Syntax”
Section 6.2.3, “Grant Tables”
Section 27.7.24.3, “How to Get the Unique ID for the Last Inserted Row”
Section 12.14, “Information Functions”
Chapter 24, INFORMATION_SCHEMA Tables
Section 15.5.1, “InnoDB Locking”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.2.6.2, “INSERT ... ON DUPLICATE KEY UPDATE Syntax”
Section 13.2.6.1, “INSERT ... SELECT Syntax”
Section 13.2.6.3, “INSERT DELAYED Syntax”
Section 13.2.6, “INSERT Syntax”
Section 8.11.1, “Internal Locking Methods”
Section 22.2.2, “LIST Partitioning”
Section 13.2.7, “LOAD DATA INFILE Syntax”
Section 3.3.3, “Loading Data into a Table”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 22.3.1, “Management of RANGE and LIST Partitions”
Section 16.7.2, “MERGE Table Problems”
Section 12.21, “Miscellaneous Functions”
Section A.1, “MySQL 8.0 FAQ: General”
Section A.11, “MySQL 8.0 FAQ: MySQL Chinese, Japanese, and Korean Character Sets”
Section A.5, “MySQL 8.0 FAQ: Triggers”
Section A.6, “MySQL 8.0 FAQ: Views”
Section 1.8.1, “MySQL Extensions to Standard SQL”
MySQL Glossary
Section 4.5.1.1, “mysql Options”
Section B.5.2.8, “MySQL server has gone away”
Section 27.7.7.1, “mysql_affected_rows()”
Section 27.7.7.38, “mysql_insert_id()”
Section 27.7.7.49, “mysql_num_rows()”
Section 27.7.11.10, “mysql_stmt_execute()”
Section 27.7.11.13, “mysql_stmt_field_count()”
Section 27.7.11.16, “mysql_stmt_insert_id()”
Section 27.7.11.18, “mysql_stmt_num_rows()”
Section 27.7.11.21, “mysql_stmt_prepare()”
Section 27.7.7.77, “mysql_store_result()”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 8.8.4, “Obtaining Execution Plan Information for a Named Connection”
Section 15.12.1, “Online DDL Overview”
Section 13.7.2.4, “OPTIMIZE TABLE Syntax”
Section 8.9.2, “Optimizer Hints”
Section 8.2.5, “Optimizing Data Change Statements”
Section 8.2.5.1, “Optimizing INSERT Statements”
Section 8.6.1, “Optimizing MyISAM Queries”
Section 8.8.1, “Optimizing Queries with EXPLAIN”
Section 11.2.6, “Out-of-Range and Overflow Handling”
Section 22.1, “Overview of Partitioning in MySQL”
Section 22.4, “Partition Pruning”
Section 22.5, “Partition Selection”
Section 6.1.2.3, “Passwords and Logging”
Section 25.11.6, “Performance Schema Statement Event Tables”
Section 11.5.6, “Populating Spatial Columns”
Section 25.4.6, “Pre-Filtering by Thread”
Section 1.8.3.1, “PRIMARY KEY and UNIQUE Index Constraints”
Section 6.2.1, “Privileges Provided by MySQL”
Section 22.2.1, “RANGE Partitioning”
Section 13.2.9, “REPLACE Syntax”
Section 18.4.1.1, “Replication and AUTO_INCREMENT”
Section 18.4.1.30, “Replication and Server SQL Mode”
Section 18.4.1.16, “Replication and System Functions”
Section 18.4.1.35, “Replication and Triggers”
Section 18.4.1.38, “Replication and Variables”
Section 18.1.6.2, “Replication Master Options and Variables”
Section 18.2.5.3, “Replication Rule Application”
Section 22.6, “Restrictions and Limitations on Partitioning”
Section 13.1.16.9, “Secondary Indexes and Generated Columns”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.4, “Server Command Options”
Section B.3, “Server Error Codes and Messages”
Section 5.1.8, “Server SQL Modes”
Section 5.1.5, “Server System Variables”
Section 13.7.5.27, “SHOW PROCEDURE CODE Syntax”
Section 13.7.5.40, “SHOW WARNINGS Syntax”
Section 18.4.1.28, “Slave Errors During Replication”
Section 13.2.11, “Subquery Syntax”
Section 8.11.2, “Table Locking Issues”
Section 16.5, “The ARCHIVE Storage Engine”
Section 10.1.8.5, “The binary Collation Compared to _bin Collations”
Section 5.4.4, “The Binary Log”
Section 16.6, “The BLACKHOLE Storage Engine”
Section 24.24, “The INFORMATION_SCHEMA TABLES Table”
Section 24.30, “The INFORMATION_SCHEMA VIEWS Table”
Section 1.3.2, “The Main Features of MySQL”
Section 16.7, “The MERGE Storage Engine”
Section 16.2, “The MyISAM Storage Engine”
Section 6.2, “The MySQL Access Privilege System”
Section 5.1.12, “The Server Shutdown Process”
Section 23.3.1, “Trigger Syntax and Examples”
Section 6.2.9, “Troubleshooting Problems Connecting to MySQL”
Section 15.19.9, “Troubleshooting the InnoDB memcached Plugin”
Section 23.5.3, “Updatable and Insertable Views”
Section 13.2.12, “UPDATE Syntax”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”
Section 15.14.2.1, “Using InnoDB Transaction and Locking Information”
Section 23.3, “Using Triggers”
Section 1.4, “What Is New in MySQL 8.0”
Section 27.7.24.2, “What Results You Can Get from a Query”
Section 6.2.8, “When Privilege Changes Take Effect”
Section 27.7.24.1, “Why mysql_store_result() Sometimes Returns NULL After mysql_query() Returns Success”
Section 28.2.4.8, “Writing Audit Plugins”

INSERT ... ON DUPLICATE KEY UPDATE

Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”
Section 18.2.1.3, “Determination of Safe and Unsafe Statements in Binary Logging”
Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 12.14, “Information Functions”
Section 13.2.6.2, “INSERT ... ON DUPLICATE KEY UPDATE Syntax”
Section 13.2.6, “INSERT Syntax”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 16.7.2, “MERGE Table Problems”
Section 12.21, “Miscellaneous Functions”
MySQL Glossary
Section 27.7.7.1, “mysql_affected_rows()”
Section 27.7.7.38, “mysql_insert_id()”

INSERT ... SELECT

Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”
Section 8.11.3, “Concurrent Inserts”
Section 13.2.6.2, “INSERT ... ON DUPLICATE KEY UPDATE Syntax”
Section 13.2.6.1, “INSERT ... SELECT Syntax”
Section 13.2.6, “INSERT Syntax”
Section 8.4.4, “Internal Temporary Table Use in MySQL”
Section B.5.7, “Known Issues in MySQL”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 27.7.7.38, “mysql_insert_id()”
Section 22.5, “Partition Selection”
Section 18.4.1.17, “Replication and LIMIT”
Section 5.1.5, “Server System Variables”
Section 5.4.4, “The Binary Log”

INSERT ... SELECT ON DUPLICATE KEY UPDATE

Section 13.2.6.2, “INSERT ... ON DUPLICATE KEY UPDATE Syntax”
Section 13.2.6.1, “INSERT ... SELECT Syntax”

INSERT ... SET

Section 13.2.6, “INSERT Syntax”

INSERT ... VALUES

Section 13.2.6, “INSERT Syntax”
Section 27.7.7.36, “mysql_info()”

INSERT DELAYED

Section 13.2.6.3, “INSERT DELAYED Syntax”
Section 13.2.6, “INSERT Syntax”

INSERT IGNORE

Section 1.8.3.3, “Constraints on Invalid Data”
Section 1.8.3.4, “ENUM and SET Constraints”
Section 12.14, “Information Functions”
Section 13.2.6, “INSERT Syntax”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 5.1.8, “Server SQL Modes”

INSERT IGNORE ... SELECT

Section 13.2.6.1, “INSERT ... SELECT Syntax”

INSERT INTO ... SELECT

Section 6.2.7, “Access Control, Stage 2: Request Verification”
Section 15.5.2.3, “Consistent Nonlocking Reads”
Section 1.8.3.3, “Constraints on Invalid Data”
Section 13.1.11, “CREATE EVENT Syntax”
Section 13.2.6, “INSERT Syntax”
Section 1.8.2.1, “SELECT INTO TABLE Differences”
Section 16.3, “The MEMORY Storage Engine”

INSERT INTO ... SELECT ...

Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 27.7.7.36, “mysql_info()”
Section 27.7.24.2, “What Results You Can Get from a Query”

INSERT INTO ... SELECT FROM memory_table

Section 18.4.1.23, “Replication and MEMORY Tables”

INSERT INTO...SELECT

Section 8.2.1, “Optimizing SELECT Statements”

INSTALL COMPONENT

Section 5.5.1, “Error Log Components”
Section 13.7.3.3, “INSTALL COMPONENT Syntax”
Section 5.5, “MySQL Server Components”
Section 5.1.5, “Server System Variables”
Section 6.2.2, “Static Versus Dynamic Privileges”
Section 5.4.2, “The Error Log”
Section 13.7.3.5, “UNINSTALL COMPONENT Syntax”

INSTALL PLUGIN

Section 15.6.2, “Configuring InnoDB for Read-Only Operation”
Section 6.5.2.1, “Connection-Control Plugin Installation”
Section 13.7.6.3, “FLUSH Syntax”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 15.19.2, “InnoDB memcached Architecture”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.7.3.4, “INSTALL PLUGIN Syntax”
Section 5.6.1, “Installing and Uninstalling Plugins”
Section 6.5.4.4.1, “Installing or Uninstalling General-Purpose Keyring Functions”
Section 5.6.4.2, “Installing or Uninstalling Version Tokens”
Section 6.5.4.1, “Keyring Plugin Installation”
Section 12.9.9, “MeCab Full-Text Parser Plugin”
Section 2.8.4, “MySQL Source-Configuration Options”
Section 6.5.1.4, “No-Login Pluggable Authentication”
Section 5.6.2, “Obtaining Server Plugin Information”
Section 6.5.3.1, “Password Validation Plugin Installation”
Section 6.5.3.2, “Password Validation Plugin Options and Variables”
Section 16.11.1, “Pluggable Storage Engine Architecture”
Section 28.2.3, “Plugin API Components”
Section 28.2.4.2, “Plugin Data Structures”
Section 18.3.10.1, “Semisynchronous Replication Administrative Interface”
Section 18.3.10.2, “Semisynchronous Replication Installation and Configuration”
Section 5.1.4, “Server Command Options”
Section 28.2.4.2.1, “Server Plugin Library and Plugin Descriptors”
Section 5.1.5, “Server System Variables”
Section 15.19.3, “Setting Up the InnoDB memcached Plugin”
Section 13.7.5.25, “SHOW PLUGINS Syntax”
Section 6.5.1.5, “Socket Peer-Credential Pluggable Authentication”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 6.5.1.6, “Test Pluggable Authentication”
Section 24.14, “The INFORMATION_SCHEMA PLUGINS Table”
Section 28.2, “The MySQL Plugin API”
Section 15.19.9, “Troubleshooting the InnoDB memcached Plugin”
Section 13.7.3.6, “UNINSTALL PLUGIN Syntax”
Section 1.4, “What Is New in MySQL 8.0”
Section 28.2.4.8, “Writing Audit Plugins”
Section 28.2.4.5, “Writing Daemon Plugins”
Section 28.2.4.4, “Writing Full-Text Parser Plugins”
Section 28.2.4.6, “Writing INFORMATION_SCHEMA Plugins”
Section 28.2.4.10, “Writing Password-Validation Plugins”
Section 28.2.4.9.1, “Writing the Server-Side Authentication Plugin”

ITERATE

Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.6.5, “Flow Control Statements”
Section 13.6.5.3, “ITERATE Syntax”
Section 13.6.2, “Statement Label Syntax”

K

[index top]

KILL

Section 8.14.2, “General Thread States”
Section 13.7.1.6, “GRANT Syntax”
Section 13.7.6.4, “KILL Syntax”
Section B.5.2.8, “MySQL server has gone away”
Section 27.7.7.39, “mysql_kill()”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.4.1.34, “Replication and Transaction Inconsistencies”
Section 13.7.5.29, “SHOW PROCESSLIST Syntax”
Section 13.4.2.7, “STOP SLAVE Syntax”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 26.4.3.9, “The innodb_lock_waits and x$innodb_lock_waits Views”
Section 26.4.3.28, “The schema_table_lock_waits and x$schema_table_lock_waits Views”

KILL CONNECTION

Section 13.7.6.4, “KILL Syntax”
Section 13.4.2.7, “STOP SLAVE Syntax”
Section 5.1.12, “The Server Shutdown Process”

KILL QUERY

Section 13.7.6.4, “KILL Syntax”
Section 12.21, “Miscellaneous Functions”
Section 13.4.2.7, “STOP SLAVE Syntax”
Section 5.1.12, “The Server Shutdown Process”
Section 13.2.11.9, “WITH Syntax (Common Table Expressions)”

L

[index top]

LEAVE

Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.6.5, “Flow Control Statements”
Section 13.6.5.4, “LEAVE Syntax”
Section 13.6.5.5, “LOOP Syntax”
Section C.1, “Restrictions on Stored Programs”
Section 13.6.5.7, “RETURN Syntax”
Section 13.6.2, “Statement Label Syntax”

LOAD DATA

Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”
Section 8.11.3, “Concurrent Inserts”
Section 13.1.18, “CREATE TRIGGER Syntax”
Section 10.1.3.3, “Database Character Set and Collation”
Section 13.2.5, “IMPORT TABLE Syntax”
Section B.5.7, “Known Issues in MySQL”
Section 13.2.7, “LOAD DATA INFILE Syntax”
Section 13.2.8, “LOAD XML Syntax”
Section 3.3.3, “Loading Data into a Table”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section 27.7.7.50, “mysql_options()”
Section 22.1, “Overview of Partitioning in MySQL”
Section 22.5, “Partition Selection”
Section 22.6, “Restrictions and Limitations on Partitioning”
Section C.1, “Restrictions on Stored Programs”
Section 6.1.6, “Security Issues with LOAD DATA LOCAL”
Section 3.3.4.1, “Selecting All Data”
Section 5.1.4, “Server Command Options”
Section 5.1.8, “Server SQL Modes”
Section 5.1.5, “Server System Variables”
Section 11.4.4, “The ENUM Type”
Section 9.4, “User-Defined Variables”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”
Section 23.3, “Using Triggers”

LOAD DATA INFILE

Section 18.3.1.2, “Backing Up Raw Data from a Slave”
Section 7.1, “Backup and Recovery Types”
Section 8.6.2, “Bulk Data Loading for MyISAM Tables”
Section 8.11.3, “Concurrent Inserts”
Section 7.2, “Database Backup Methods”
Section 18.2.1.3, “Determination of Safe and Unsafe Statements in Binary Logging”
Section B.5.3.4, “How MySQL Handles a Full Disk”
Section 12.14, “Information Functions”
Section B.5.7, “Known Issues in MySQL”
Section 13.2.7, “LOAD DATA INFILE Syntax”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 16.2.1, “MyISAM Startup Options”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 4.5.1.1, “mysql Options”
Section 4.6.8.1, “mysqlbinlog Hex Dump Format”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.5, “mysqlimport — A Data Import Program”
Section 9.1.7, “NULL Values”
Section 8.2.5.1, “Optimizing INSERT Statements”
Section 11.2.6, “Out-of-Range and Overflow Handling”
Section 4.1, “Overview of MySQL Programs”
Section 6.2.1, “Privileges Provided by MySQL”
Section B.5.4.3, “Problems with NULL Values”
Section 7.4.4, “Reloading Delimited-Text Format Backups”
Section 18.4.1.18, “Replication and LOAD DATA INFILE”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 8.14.5, “Replication Slave SQL Thread States”
Section C.7, “Restrictions on Character Sets”
Section 13.2.10.1, “SELECT ... INTO Syntax”
Section 5.1.4, “Server Command Options”
Section 5.1.5, “Server System Variables”
Section 13.7.5.40, “SHOW WARNINGS Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 13.2.11, “Subquery Syntax”
Section 16.3, “The MEMORY Storage Engine”
Section 6.2, “The MySQL Access Privilege System”
Section 13.2.11.1, “The Subquery as Scalar Operand”
Section 6.2.9, “Troubleshooting Problems Connecting to MySQL”
Section 1.4, “What Is New in MySQL 8.0”
Section B.5.3.5, “Where MySQL Stores Temporary Files”
Section C.10.5, “Windows Platform Limitations”

LOAD DATA INFILE ...

Section 27.7.7.36, “mysql_info()”
Section 27.7.24.2, “What Results You Can Get from a Query”

LOAD DATA LOCAL

Section 13.2.7, “LOAD DATA INFILE Syntax”
Section 2.8.4, “MySQL Source-Configuration Options”
Section 27.7.7.50, “mysql_options()”
Section 27.7.7.54, “mysql_real_connect()”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 6.1.6, “Security Issues with LOAD DATA LOCAL”
Section 5.1.5, “Server System Variables”

LOAD DATA LOCAL INFILE

Section 27.7.6, “C API Function Overview”
Section 13.2.7, “LOAD DATA INFILE Syntax”
Section 27.7.7.50, “mysql_options()”
Section 27.7.7.70, “mysql_set_local_infile_default()”
Section 27.7.7.71, “mysql_set_local_infile_handler()”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”

LOAD INDEX INTO CACHE

Section 13.7.6.2, “CACHE INDEX Syntax”
Section 8.10.2.4, “Index Preloading”
Section 13.7.6.5, “LOAD INDEX INTO CACHE Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”

LOAD INDEX INTO CACHE ... IGNORE LEAVES

Section 13.7.6.5, “LOAD INDEX INTO CACHE Syntax”

LOAD XML

Section 13.2.8, “LOAD XML Syntax”
Section 22.1, “Overview of Partitioning in MySQL”
Section 22.5, “Partition Selection”
Section 5.1.8, “Server SQL Modes”

LOAD XML INFILE

Section 13.2.8, “LOAD XML Syntax”

LOAD XML LOCAL

Section 13.2.8, “LOAD XML Syntax”

LOAD XML LOCAL INFILE

Section 13.2.8, “LOAD XML Syntax”

LOCK TABLE

Section 8.11.3, “Concurrent Inserts”
Section 8.14.2, “General Thread States”
Section B.5.6.1, “Problems with ALTER TABLE”

LOCK TABLES

Section 15.1.2, “Best Practices for InnoDB Tables”
Section 8.6.2, “Bulk Data Loading for MyISAM Tables”
Section 13.1.10, “CREATE DATABASE Syntax”
Section 13.1.16.4, “CREATE TABLE ... LIKE Syntax”
Section 13.1.18, “CREATE TRIGGER Syntax”
Section 15.5.5.2, “Deadlock Detection and Rollback”
Section 15.5.5, “Deadlocks in InnoDB”
Section 13.7.6.3, “FLUSH Syntax”
Section 8.14.2, “General Thread States”
Section 13.7.1.6, “GRANT Syntax”
Section 15.5.5.3, “How to Minimize and Handle Deadlocks”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.3.5.1, “Interaction of Table Locking and Transactions”
Section 8.11.1, “Internal Locking Methods”
Section 15.8.1.7, “Limits on InnoDB Tables”
Section 13.3.5.2, “LOCK TABLES and Triggers”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 16.7.2, “MERGE Table Problems”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.2.4.2, “Problems from Tables Not Being Closed Properly”
Section C.1, “Restrictions on Stored Programs”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.5, “Server System Variables”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 8.11.2, “Table Locking Issues”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”

LOCK TABLES ... READ

Section 13.7.6.3, “FLUSH Syntax”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 15.8.1.7, “Limits on InnoDB Tables”
Section 8.11.4, “Metadata Locking”

LOCK TABLES ... WRITE

Section 15.13, “InnoDB Startup Options and System Variables”
Section 15.8.1.7, “Limits on InnoDB Tables”

LOOP

Section 13.6.5, “Flow Control Statements”
Section 13.6.5.3, “ITERATE Syntax”
Section 13.6.5.4, “LEAVE Syntax”
Section 13.6.5.5, “LOOP Syntax”
Section 13.6.2, “Statement Label Syntax”

O

[index top]

OPTIMIZE PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

OPTIMIZE TABLE

Section 28.5.1, “Debugging a MySQL Server”
Section 13.2.2, “DELETE Syntax”
Section 16.2.3.2, “Dynamic Table Characteristics”
Section 12.9.6, “Fine-Tuning MySQL Full-Text Search”
Section 8.14.2, “General Thread States”
Section B.5.3.4, “How MySQL Handles a Full Disk”
Section 15.7.4, “InnoDB File-Per-Table Tablespaces”
Section 15.14.4, “InnoDB INFORMATION_SCHEMA FULLTEXT Index Tables”
Section 15.9.2, “InnoDB Page Compression”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.7.6.4, “KILL Syntax”
Section 22.3.4, “Maintenance of Partitions”
Section 16.7.2, “MERGE Table Problems”
Section 7.6, “MyISAM Table Maintenance and Crash Recovery”
Section 7.6.4, “MyISAM Table Optimization”
Section 4.6.4.1, “myisamchk General Options”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 4.5.3, “mysqlcheck — A Table Maintenance Program”
Section 15.12.8, “Online DDL Limitations”
Section 15.12.1, “Online DDL Overview”
Section 13.7.2.4, “OPTIMIZE TABLE Syntax”
Section 8.6.1, “Optimizing MyISAM Queries”
Section 8.2.5.2, “Optimizing UPDATE Statements”
Section 8.2.7, “Other Optimization Tips”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.4.1.15, “Replication and FLUSH”
Section 22.6, “Restrictions and Limitations on Partitioning”
Section 5.1.5, “Server System Variables”
Section 7.6.5, “Setting Up a MyISAM Table Maintenance Schedule”
Section 15.10.2, “Specifying the Row Format for a Table”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 16.2.3.1, “Static (Fixed-Length) Table Characteristics”
Section 16.5, “The ARCHIVE Storage Engine”
Section 24.31.8, “The INFORMATION_SCHEMA INNODB_FT_BEING_DELETED Table”
Section 24.31.9, “The INFORMATION_SCHEMA INNODB_FT_CONFIG Table”
Section 24.31.11, “The INFORMATION_SCHEMA INNODB_FT_DELETED Table”
Section 24.31.12, “The INFORMATION_SCHEMA INNODB_FT_INDEX_CACHE Table”
Section 24.31.13, “The INFORMATION_SCHEMA INNODB_FT_INDEX_TABLE Table”
Section 5.1.12, “The Server Shutdown Process”
Section 5.4.5, “The Slow Query Log”
Section 8.12.2.2, “Using Symbolic Links for MyISAM Tables on Unix”

ORDER BY

Section 15.1.1, “Benefits of Using InnoDB Tables”

P

[index top]

PARTITION BY

Section 15.12.7, “Online DDL for Partitioned Tables”

PREPARE

Section 27.7.21, “C API Prepared CALL Statement Support”
Section 8.10.3, “Caching of Prepared Statements and Stored Programs”
Section 13.2.1, “CALL Syntax”
Section 13.5.3, “DEALLOCATE PREPARE Syntax”
Section 13.5.2, “EXECUTE Syntax”
Section 9.2.2, “Identifier Case Sensitivity”
Section 8.11.4, “Metadata Locking”
Section 13.5.1, “PREPARE Syntax”
Section 13.5, “Prepared SQL Statement Syntax”
Section C.1, “Restrictions on Stored Programs”
Section 5.1.7, “Server Status Variables”
Section 25.11.6.4, “The prepared_statements_instances Table”

PURGE BINARY LOGS

Section 7.3.1, “Establishing a Backup Policy”
Section 13.7.1.6, “GRANT Syntax”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.4.1.1, “PURGE BINARY LOGS Syntax”
Section 13.4.1.2, “RESET MASTER Syntax”
Section 5.4.7, “Server Log Maintenance”
Section 5.1.5, “Server System Variables”
Section 5.4.4, “The Binary Log”
Section 18.1.3.3, “Using GTIDs for Failover and Scaleout”

PURGE BINARY LOGS TO

Section 13.4.1.2, “RESET MASTER Syntax”

R

[index top]

REBUILD PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

RELEASE SAVEPOINT

Section 25.11.7, “Performance Schema Transaction Tables”
Section 13.3.4, “SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT Syntax”
Section 25.11.7.1, “The events_transactions_current Table”

REMOVE PARTITIONING

Section 15.12.7, “Online DDL for Partitioned Tables”

RENAME INDEX

Section 15.12.1, “Online DDL Overview”

RENAME TABLE

Section 13.1.7, “ALTER TABLE Syntax”
Section 13.7.2.1, “ANALYZE TABLE Syntax”
Section 13.2.2, “DELETE Syntax”
Section 8.14.2, “General Thread States”
Section 9.2.2, “Identifier Case Sensitivity”
Section 15.8.1.3, “Moving or Copying InnoDB Tables”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 13.1.30, “RENAME TABLE Syntax”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section B.5.6.2, “TEMPORARY Table Problems”
Section 2.10.1, “Upgrading MySQL”
Section 8.12.2.2, “Using Symbolic Links for MyISAM Tables on Unix”

RENAME USER

Section 13.7.1.6, “GRANT Syntax”
Section 12.14, “Information Functions”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.7.1.7, “RENAME USER Syntax”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 23.4.6, “The Event Scheduler and MySQL Privileges”
Section 6.2.8, “When Privilege Changes Take Effect”

REORGANIZE PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

REPAIR PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

REPAIR TABLE

Section 13.1.7.1, “ALTER TABLE Partition Operations”
Section 13.1.7, “ALTER TABLE Syntax”
Section 2.10.1.1, “Changes Affecting Upgrades to MySQL 8.0”
Section 13.7.2.2, “CHECK TABLE Syntax”
Section 16.2.4.1, “Corrupted MyISAM Tables”
Section 7.2, “Database Backup Methods”
Section 22.3.3, “Exchanging Partitions and Subpartitions with Tables”
Section 8.11.5, “External Locking”
Section 12.9.6, “Fine-Tuning MySQL Full-Text Search”
Section 8.14.2, “General Thread States”
Section 17.1.3, “Handling MySQL Recovery with ZFS”
Section B.5.3.4, “How MySQL Handles a Full Disk”
Section 7.6.3, “How to Repair MyISAM Tables”
Section 1.7, “How to Report Bugs or Problems”
Section 13.2.5, “IMPORT TABLE Syntax”
Section 13.7.6.4, “KILL Syntax”
Section 13.2.7, “LOAD DATA INFILE Syntax”
Section 22.3.4, “Maintenance of Partitions”
Section 16.7.2, “MERGE Table Problems”
Section 11.3.4, “Migrating YEAR(2) Columns to YEAR(4)”
Section 16.2.1, “MyISAM Startup Options”
Section 7.6, “MyISAM Table Maintenance and Crash Recovery”
Section 4.6.4.1, “myisamchk General Options”
Section 4.6.4, “myisamchk — MyISAM Table-Maintenance Utility”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 4.5.3, “mysqlcheck — A Table Maintenance Program”
Section 8.6.3, “Optimizing REPAIR TABLE Statements”
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.2.4.2, “Problems from Tables Not Being Closed Properly”
Section B.5.6.1, “Problems with ALTER TABLE”
Section 2.10.3, “Rebuilding or Repairing Tables or Indexes”
Section 13.7.2.5, “REPAIR TABLE Syntax”
Section 18.4.1.15, “Replication and FLUSH”
Section 18.4.1.20, “Replication and REPAIR TABLE”
Section 22.6, “Restrictions and Limitations on Partitioning”
Section 5.1.5, “Server System Variables”
Section 7.6.5, “Setting Up a MyISAM Table Maintenance Schedule”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 16.5, “The ARCHIVE Storage Engine”
Section 5.1.12, “The Server Shutdown Process”
Section 5.4.5, “The Slow Query Log”
Section 8.12.2.2, “Using Symbolic Links for MyISAM Tables on Unix”

REPEAT

Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 23.1, “Defining Stored Programs”
Section 13.6.5, “Flow Control Statements”
Section 13.6.5.3, “ITERATE Syntax”
Section 13.6.5.4, “LEAVE Syntax”
Section 13.6.5.6, “REPEAT Syntax”
Section 13.6.2, “Statement Label Syntax”

REPLACE

Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”
Section 13.1.16.5, “CREATE TABLE ... SELECT Syntax”
Section 13.1.16.8, “CREATE TABLE and Generated Columns”
Section 13.1.18, “CREATE TRIGGER Syntax”
Section 11.7, “Data Type Default Values”
Section 8.8.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 8.8.3, “Extended EXPLAIN Output Format”
Section 12.14, “Information Functions”
Section 13.2.6, “INSERT Syntax”
Section B.5.7, “Known Issues in MySQL”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 16.7.2, “MERGE Table Problems”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section B.5.2.8, “MySQL server has gone away”
Section 27.7.7.1, “mysql_affected_rows()”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 8.8.4, “Obtaining Execution Plan Information for a Named Connection”
Section 8.9.2, “Optimizer Hints”
Section 8.8.1, “Optimizing Queries with EXPLAIN”
Section 22.1, “Overview of Partitioning in MySQL”
Section 22.5, “Partition Selection”
Section 13.2.9, “REPLACE Syntax”
Section 22.6, “Restrictions and Limitations on Partitioning”
Section 5.1.4, “Server Command Options”
Section 13.2.11, “Subquery Syntax”
Section 16.5, “The ARCHIVE Storage Engine”
Section 1.3.2, “The Main Features of MySQL”
Section 13.2.12, “UPDATE Syntax”

REPLACE ... SELECT

Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”
Section B.5.7, “Known Issues in MySQL”

RESET

Section 13.7.6.3, “FLUSH Syntax”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 13.7.6.7, “RESET PERSIST Syntax”
Section 13.7.6.6, “RESET Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”

RESET MASTER

Section 18.1.6.5, “Global Transaction ID Options and Variables”
Section 18.1.3.1, “GTID Concepts”
Section 27.7.7.58, “mysql_refresh()”
Section 13.4.1.2, “RESET MASTER Syntax”
Section 13.7.5.34, “SHOW SLAVE STATUS Syntax”
Section 18.3.8, “Switching Masters During Failover”
Section 5.4.4, “The Binary Log”
Section 25.11.11.5, “The replication_applier_status_by_coordinator Table”
Section 25.11.11.6, “The replication_applier_status_by_worker Table”
Section 25.11.11.2, “The replication_connection_status Table”

RESET PERSIST

Section 13.7.6.7, “RESET PERSIST Syntax”
Section 13.7.6.6, “RESET Syntax”
Section 5.1.5, “Server System Variables”
Section 13.7.4.1, “SET Syntax for Variable Assignment”
Section 5.1.6, “Using System Variables”

RESET SLAVE

Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 18.2.3.1, “Commands for Operations on a Single Channel”
Section 18.2.3.2, “Compatibility with Previous Replication Statements”
Section 18.3.11, “Delayed Replication”
Section 27.7.7.58, “mysql_refresh()”
Section 18.1.6, “Replication and Binary Logging Options and Variables”
Section 18.4.1.34, “Replication and Transaction Inconsistencies”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 13.4.1.2, “RESET MASTER Syntax”
Section 13.4.2.4, “RESET SLAVE Syntax”
Section 13.7.5.34, “SHOW SLAVE STATUS Syntax”
Section 13.4.2.6, “START SLAVE Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 25.11.11.5, “The replication_applier_status_by_coordinator Table”
Section 25.11.11.6, “The replication_applier_status_by_worker Table”
Section 25.11.11.2, “The replication_connection_status Table”

RESET SLAVE ALL

Section 13.4.2.4, “RESET SLAVE Syntax”

RESIGNAL

Section 13.6.7, “Condition Handling”
Section 13.6.7.1, “DECLARE ... CONDITION Syntax”
Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.6.7.7.2, “Diagnostics Area Information Items”
Section 13.6.7.7.5, “Diagnostics Area-Related System Variables”
Section 13.6.7.3, “GET DIAGNOSTICS Syntax”
Section 13.6.7.7.3, “How the Diagnostics Area is Populated”
Section 13.6.7.7.4, “How the Diagnostics Area Stack Works”
Section 13.6.7.4.1, “RESIGNAL Alone”
Section 13.6.7.4.4, “RESIGNAL Requires Condition Handler Context”
Section 13.6.7.4, “RESIGNAL Syntax”
Section 13.6.7.4.3, “RESIGNAL with a Condition Value and Optional New Signal Information”
Section 13.6.7.4.2, “RESIGNAL with New Signal Information”
Section C.2, “Restrictions on Condition Handling”
Section C.1, “Restrictions on Stored Programs”
Section 13.6.7.6, “Scope Rules for Handlers”
Section 13.6.7.5.1, “Signal Condition Information Items”

RETURN

Section 8.10.3, “Caching of Prepared Statements and Stored Programs”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.6.5, “Flow Control Statements”
Section 13.6.7.7.4, “How the Diagnostics Area Stack Works”
Section 13.6.5.5, “LOOP Syntax”
Section C.1, “Restrictions on Stored Programs”
Section 13.6.5.7, “RETURN Syntax”

REVOKE

Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 15.6.2, “Configuring InnoDB for Read-Only Operation”
Section 13.7.6.3, “FLUSH Syntax”
Section 13.7.1.6, “GRANT Syntax”
Section 6.2.3, “Grant Tables”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 12.14, “Information Functions”
Section 5.1.9, “IPv6 Support”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section A.13, “MySQL 8.0 FAQ: Replication”
Section 1.8.2, “MySQL Differences from Standard SQL”
MySQL Glossary
Section 6.2.1, “Privileges Provided by MySQL”
Section 6.3.11, “Proxy Users”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section 18.4.1.25, “Replication of the mysql System Database”
Section 13.7.1.8, “REVOKE Syntax”
Section 6.1.1, “Security Guidelines”
Section 5.1.5, “Server System Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 6.2.2, “Static Versus Dynamic Privileges”
Section 23.4.6, “The Event Scheduler and MySQL Privileges”
Section 6.2, “The MySQL Access Privilege System”
Section 6.3.1, “User Names and Passwords”
Section 6.3.4, “Using Roles”
Section 6.2.8, “When Privilege Changes Take Effect”

REVOKE ALL PRIVILEGES

Section 13.7.1.6, “GRANT Syntax”
Section 6.2.1, “Privileges Provided by MySQL”

ROLLBACK

Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”
Section 15.5.2.2, “autocommit, Commit, and Rollback”
Section 23.7, “Binary Logging of Stored Programs”
Section 15.8.1.4, “Converting Tables from MyISAM to InnoDB”
Section 15.5.5.2, “Deadlock Detection and Rollback”
Section 4.6.1, “ibd2sdi — InnoDB Tablespace SDI Extraction Utility”
Section 12.14, “Information Functions”
Section 15.2, “InnoDB and the ACID Model”
Section 15.20.4, “InnoDB Error Handling”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.3.5.1, “Interaction of Table Locking and Transactions”
Section 27.7.7.3, “mysql_change_user()”
Section 25.11.7, “Performance Schema Transaction Tables”
Section 18.4.1.33, “Replication and Transactions”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section B.5.4.5, “Rollback Failure for Nontransactional Tables”
Section 13.3.4, “SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT Syntax”
Section 5.1.5, “Server System Variables”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 13.3.2, “Statements That Cannot Be Rolled Back”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 5.4.4, “The Binary Log”
Section 25.11.7.1, “The events_transactions_current Table”
Section 13.3, “Transactional and Locking Statements”
Section 23.3.1, “Trigger Syntax and Examples”
Section 1.4, “What Is New in MySQL 8.0”

ROLLBACK TO SAVEPOINT

Section 25.11.7, “Performance Schema Transaction Tables”
Section 13.3.4, “SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT Syntax”
Section 25.11.7.1, “The events_transactions_current Table”

ROLLBACK to SAVEPOINT

Section 23.3.1, “Trigger Syntax and Examples”

S

[index top]

SAVEPOINT

Section 25.11.7, “Performance Schema Transaction Tables”
Section 13.3.4, “SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT Syntax”
Section 25.11.7.1, “The events_transactions_current Table”

SELECT

Section 12.18.1, “Aggregate (GROUP BY) Function Descriptions”
Section 13.1.7, “ALTER TABLE Syntax”
Section 13.1.9, “ALTER VIEW Syntax”
Section 12.3.4, “Assignment Operators”
Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”
Section 15.5.2.2, “autocommit, Commit, and Rollback”
Section 23.7, “Binary Logging of Stored Programs”
Section 8.6.2, “Bulk Data Loading for MyISAM Tables”
Section 27.7.5, “C API Data Structures”
Section 27.7.6, “C API Function Overview”
Section 27.7.19, “C API Multiple Statement Execution Support”
Section 27.7.21, “C API Prepared CALL Statement Support”
Section 27.7.10, “C API Prepared Statement Function Overview”
Section 8.10.3, “Caching of Prepared Statements and Stored Programs”
Section 12.3.2, “Comparison Functions and Operators”
Section 8.3.8, “Comparison of B-Tree and Hash Indexes”
Section 8.11.3, “Concurrent Inserts”
Section 10.1.4, “Connection Character Sets and Collations”
Section 15.5.2.3, “Consistent Nonlocking Reads”
Section 15.8.1.4, “Converting Tables from MyISAM to InnoDB”
Section 13.1.11, “CREATE EVENT Syntax”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.1.16.5, “CREATE TABLE ... SELECT Syntax”
Section 13.1.16.8, “CREATE TABLE and Generated Columns”
Section 13.1.16, “CREATE TABLE Syntax”
Section 13.1.16.3, “CREATE TEMPORARY TABLE Syntax”
Section 13.1.19, “CREATE VIEW Syntax”
Section 16.8.2.1, “Creating a FEDERATED Table Using CONNECTION”
Section 3.3.1, “Creating and Selecting a Database”
Section 13.6.6.2, “Cursor DECLARE Syntax”
Section 13.6.6.3, “Cursor FETCH Syntax”
Section 15.5.5.2, “Deadlock Detection and Rollback”
Section 13.2.2, “DELETE Syntax”
Section 13.2.11.8, “Derived Tables (Subqueries in the FROM Clause)”
Section 8.4.3.2, “Disadvantages of Creating Many Tables in the Same Database”
Section 8.12.4.2, “DNS Lookup Optimization and the Host Cache”
Section 13.2.3, “DO Syntax”
Section 5.1.6.2, “Dynamic System Variables”
Section 3.2, “Entering Queries”
Section 23.4.2, “Event Scheduler Configuration”
Section 10.1.8.6, “Examples of the Effect of Collation”
Section 8.8.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 8.8.3, “Extended EXPLAIN Output Format”
Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 13.7.6.3, “FLUSH Syntax”
Section 15.20.2, “Forcing InnoDB Recovery”
Section 8.2.1.17, “Function Call Optimization”
Chapter 12, Functions and Operators
Section 12.16.3, “Functions That Search JSON Values”
Section 8.14.2, “General Thread States”
Section 13.7.1.6, “GRANT Syntax”
Section 13.2.4, “HANDLER Syntax”
Section 22.2.7, “How MySQL Partitioning Handles NULL”
Section 15.5.5.3, “How to Minimize and Handle Deadlocks”
Section 1.7, “How to Report Bugs or Problems”
Section 8.9.4, “Index Hints”
Section 12.14, “Information Functions”
Chapter 24, INFORMATION_SCHEMA Tables
Section 2.9.1, “Initializing the Data Directory”
Section 13.2.6.2, “INSERT ... ON DUPLICATE KEY UPDATE Syntax”
Section 13.2.6.1, “INSERT ... SELECT Syntax”
Section 13.2.6, “INSERT Syntax”
Section 8.11.1, “Internal Locking Methods”
Section 8.4.4, “Internal Temporary Table Use in MySQL”
Section 13.2.10.2, “JOIN Syntax”
Section 9.3, “Keywords and Reserved Words”
Section 13.7.6.4, “KILL Syntax”
Section B.5.7, “Known Issues in MySQL”
Section 13.2.8, “LOAD XML Syntax”
Section 13.6.4.2, “Local Variable Scope and Resolution”
Section 15.5.2.4, “Locking Reads”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section 22.3.1, “Management of RANGE and LIST Partitions”
Section 16.7.2, “MERGE Table Problems”
Section 8.3.5, “Multiple-Column Indexes”
Section 7.6.4, “MyISAM Table Optimization”
Section A.11, “MySQL 8.0 FAQ: MySQL Chinese, Japanese, and Korean Character Sets”
Section A.13, “MySQL 8.0 FAQ: Replication”
Section A.4, “MySQL 8.0 FAQ: Stored Procedures and Functions”
Section 1.8.1, “MySQL Extensions to Standard SQL”
MySQL Glossary
Section 4.5.1.1, “mysql Options”
Chapter 25, MySQL Performance Schema
Section 27.7.7.1, “mysql_affected_rows()”
Section 27.7.7.17, “mysql_fetch_field()”
Section 27.7.7.22, “mysql_field_count()”
Section 27.7.7.48, “mysql_num_fields()”
Section 27.7.7.49, “mysql_num_rows()”
Section 27.7.11.10, “mysql_stmt_execute()”
Section 27.7.11.11, “mysql_stmt_fetch()”
Section 27.7.11.18, “mysql_stmt_num_rows()”
Section 27.7.11.28, “mysql_stmt_store_result()”
Section 27.7.7.77, “mysql_store_result()”
Section 27.7.7.79, “mysql_use_result()”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 4.5.9, “mysqlslap — Load Emulation Client”
Section 12.9.1, “Natural Language Full-Text Searches”
Section 8.8.4, “Obtaining Execution Plan Information for a Named Connection”
Section 22.3.5, “Obtaining Information About Partitions”
Section 8.3, “Optimization and Indexes”
Section 8.9.2, “Optimizer Hints”
Section B.5.5, “Optimizer-Related Issues”
Section 8.2.2.3, “Optimizing Derived Tables, View References, and Common Table Expressions”
Section 8.5.3, “Optimizing InnoDB Read-Only Transactions”
Section 8.5.2, “Optimizing InnoDB Transaction Management”
Section 8.6.1, “Optimizing MyISAM Queries”
Section 8.8.1, “Optimizing Queries with EXPLAIN”
Section 8.2.1, “Optimizing SELECT Statements”
Section 8.2.2.4, “Optimizing Subqueries with the EXISTS Strategy”
Section 8.2.2.1, “Optimizing Subqueries, Derived Tables, View References, and Common Table Expressions with Semi-Join Transformations”
Section 8.2.5.2, “Optimizing UPDATE Statements”
Section 4.6.4.4, “Other myisamchk Options”
Section 22.4, “Partition Pruning”
Section 22.5, “Partition Selection”
Section 25.6, “Performance Schema Instrument Naming Conventions”
Section 25.11.13.1, “Performance Schema persisted_variables Table”
Section 25.11.11, “Performance Schema Replication Tables”
Section 15.14.2.3, “Persistence and Consistency of InnoDB Transaction and Locking Information”
Section 15.5.4, “Phantom Rows”
Section 6.2.1, “Privileges Provided by MySQL”
Section B.5.4.2, “Problems Using DATE Columns”
Section B.5.4.8, “Problems with Floating-Point Values”
Section 22.2.3.1, “RANGE COLUMNS partitioning”
Section 8.2.1.2, “Range Optimization”
Section 16.4.1, “Repairing and Checking CSV Tables”
Section 13.2.9, “REPLACE Syntax”
Section 18.2, “Replication Implementation”
Section 18.1.6.2, “Replication Master Options and Variables”
Section 18.4.1.5, “Replication of CREATE ... IF NOT EXISTS Statements”
Section 18.4.1.12, “Replication of Invoked Features”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section C.1, “Restrictions on Stored Programs”
Section 3.3.4, “Retrieving Information from a Table”
Section 3.6.7, “Searching on Two Keys”
Section 13.1.16.9, “Secondary Indexes and Generated Columns”
Section 13.2.10.1, “SELECT ... INTO Syntax”
Section 13.2.10, “SELECT Syntax”
Section 3.3.4.1, “Selecting All Data”
Section 3.3.4.2, “Selecting Particular Rows”
Section B.3, “Server Error Codes and Messages”
Section 5.1.8, “Server SQL Modes”
Section 5.1.7, “Server Status Variables”
Section 5.1.5, “Server System Variables”
Section 13.7.4.1, “SET Syntax for Variable Assignment”
Section 13.7.5.2, “SHOW BINLOG EVENTS Syntax”
Section 13.7.5.9, “SHOW CREATE PROCEDURE Syntax”
Section 13.7.5.13, “SHOW CREATE VIEW Syntax”
Section 13.7.5.17, “SHOW ERRORS Syntax”
Section 13.7.5.27, “SHOW PROCEDURE CODE Syntax”
Section 13.7.5.29, “SHOW PROCESSLIST Syntax”
Section 13.7.5.32, “SHOW RELAYLOG EVENTS Syntax”
Section 13.7.5, “SHOW Syntax”
Section 13.7.5.39, “SHOW VARIABLES Syntax”
Section 13.7.5.40, “SHOW WARNINGS Syntax”
Section B.5.4.7, “Solving Problems with No Matching Rows”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 23.2.1, “Stored Routine Syntax”
Section 9.1.1, “String Literals”
Section 13.2.11.6, “Subqueries with EXISTS or NOT EXISTS”
Section 13.2.11.10, “Subquery Errors”
Section 13.2.11, “Subquery Syntax”
Section 8.11.2, “Table Locking Issues”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 16.5, “The ARCHIVE Storage Engine”
Section 5.4.4, “The Binary Log”
Section 11.4.4, “The ENUM Type”
Section 25.11.16.1, “The host_cache Table”
Section 24.4, “The INFORMATION_SCHEMA COLUMNS Table”
Section 24.8, “The INFORMATION_SCHEMA EVENTS Table”
Section 24.31.28, “The INFORMATION_SCHEMA INNODB_TRX Table”
Section 24.30, “The INFORMATION_SCHEMA VIEWS Table”
Section 11.6, “The JSON Data Type”
Section 1.3.2, “The Main Features of MySQL”
Section 16.7, “The MERGE Storage Engine”
Section 6.2, “The MySQL Access Privilege System”
Section 5.3, “The mysql System Database”
Section 5.6.3, “The Rewriter Query Rewrite Plugin”
Section 13.2.11.1, “The Subquery as Scalar Operand”
Section 25.11.16.3, “The threads Table”
Section 15.5.2.1, “Transaction Isolation Levels”
Section 23.3.1, “Trigger Syntax and Examples”
Section 12.2, “Type Conversion in Expression Evaluation”
Section 28.2.1, “Types of Plugins”
Section 1.2, “Typographical and Syntax Conventions”
Section 13.2.10.3, “UNION Syntax”
Section 13.2.12, “UPDATE Syntax”
Section 9.4, “User-Defined Variables”
Section 15.14.2.1, “Using InnoDB Transaction and Locking Information”
Section 28.5.1.6, “Using Server Logs to Find Causes of Errors in mysqld”
Section 11.5.10, “Using Spatial Indexes”
Section 5.1.6, “Using System Variables”
Section 4.5.1.6.4, “Using the --safe-updates Option”
Section 5.6.3.2, “Using the Rewriter Query Rewrite Plugin”
Section 10.1.2.2, “UTF-8 for Metadata”
Section 5.6.4.4, “Version Tokens Reference”
Section 23.5.1, “View Syntax”
Section 1.4, “What Is New in MySQL 8.0”
Section 8.2.1.1, “WHERE Clause Optimization”
Section B.5.3.5, “Where MySQL Stores Temporary Files”
Section 13.2.11.9, “WITH Syntax (Common Table Expressions)”

SELECT *

Section 11.4.3, “The BLOB and TEXT Types”

SELECT * FROM t PARTITION ()

Section 22.1, “Overview of Partitioning in MySQL”

SELECT * INTO OUTFILE 'file_name' FROM tbl_name

Section 7.2, “Database Backup Methods”

SELECT ... FOR SHARE

Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 15.5.1, “InnoDB Locking”
Section 15.5.2.4, “Locking Reads”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 15.5.2.1, “Transaction Isolation Levels”

SELECT ... FOR UPDATE

Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 15.1.2, “Best Practices for InnoDB Tables”
Section 15.5.5, “Deadlocks in InnoDB”
Section 15.5.5.3, “How to Minimize and Handle Deadlocks”
Section 15.5.1, “InnoDB Locking”
Section 15.5.2.4, “Locking Reads”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”

SELECT ... FROM

Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”

SELECT ... FROM ... FOR SHARE

Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”

SELECT ... FROM ... FOR UPDATE

Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”

SELECT ... INTO

Section 13.1.11, “CREATE EVENT Syntax”
Section 13.6.4.2, “Local Variable Scope and Resolution”
Section 18.4.1.16, “Replication and System Functions”
Section 13.2.10.1, “SELECT ... INTO Syntax”
Section 1.8.2.1, “SELECT INTO TABLE Differences”
Section 13.2.10, “SELECT Syntax”

SELECT ... INTO DUMPFILE

Section 2.9.1, “Initializing the Data Directory”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section 5.1.5, “Server System Variables”

SELECT ... INTO OUTFILE

Section 7.1, “Backup and Recovery Types”
Section 7.4.3, “Dumping Data in Delimited-Text Format with mysqldump”
Section 15.20.2, “Forcing InnoDB Recovery”
Section 13.2.7, “LOAD DATA INFILE Syntax”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section 9.1.7, “NULL Values”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.2.10.1, “SELECT ... INTO Syntax”
Section 1.8.2.1, “SELECT INTO TABLE Differences”
Section 5.1.4, “Server Command Options”
Section 5.1.5, “Server System Variables”
Section 6.2.9, “Troubleshooting Problems Connecting to MySQL”
Section 1.2, “Typographical and Syntax Conventions”
Section 1.4, “What Is New in MySQL 8.0”
Section C.10.5, “Windows Platform Limitations”

SELECT ... INTO OUTFILE 'file_name'

Section 13.2.10.1, “SELECT ... INTO Syntax”

SELECT ... INTO var_list

Section C.1, “Restrictions on Stored Programs”
Section 13.6.4, “Variables in Stored Programs”

SELECT DISTINCT

Section 15.6.11.1.3, “Configuring the Number of Sampled Pages for InnoDB Optimizer Statistics”
Section 8.14.2, “General Thread States”
Section 8.2.2.1, “Optimizing Subqueries, Derived Tables, View References, and Common Table Expressions with Semi-Join Transformations”

SELECT SLEEP()

Section 5.1.8, “Server SQL Modes”

SET

Section 12.3.4, “Assignment Operators”
Section 23.7, “Binary Logging of Stored Programs”
Section 18.1.6.4, “Binary Logging Options and Variables”
Section 27.7.17, “C API Binary Log Function Descriptions”
Section 15.6.3.2, “Configuring InnoDB Buffer Pool Size”
Section 15.6.11.2, “Configuring Non-Persistent Optimizer Statistics Parameters”
Section 15.9.1.2, “Creating Compressed Tables”
Section 14.1, “Data Dictionary Schema”
Section 23.1, “Defining Stored Programs”
Section 5.1.6.2, “Dynamic System Variables”
Section 23.4.2, “Event Scheduler Configuration”
Section 12.1, “Function and Operator Reference”
Chapter 12, Functions and Operators
Section 18.1.6.5, “Global Transaction ID Options and Variables”
Section 13.6.7.7.3, “How the Diagnostics Area is Populated”
Section 12.14, “Information Functions”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 12.3, “Operators”
Section 6.3.9, “Password Expiration and Sandbox Mode”
Section 6.3.8, “Password Expiration Policy”
Section 18.1.6.2, “Replication Master Options and Variables”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 5.1.4, “Server Command Options”
Section 5.1.8, “Server SQL Modes”
Section 5.1.5, “Server System Variables”
Section 13.7.4, “SET Syntax”
Section 13.7.4.1, “SET Syntax for Variable Assignment”
Section 13.7.5.39, “SHOW VARIABLES Syntax”
Section 13.2.11, “Subquery Syntax”
Section 23.3.1, “Trigger Syntax and Examples”
Section 9.4, “User-Defined Variables”
Section 4.2.8, “Using Options to Set Program Variables”
Section 5.1.6, “Using System Variables”
Section 4.5.1.6.4, “Using the --safe-updates Option”
Section 13.6.4, “Variables in Stored Programs”

SET @@global.gtid_purged

Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”

SET autocommit

Section 8.5.5, “Bulk Data Loading for InnoDB Tables”
Section 13.3, “Transactional and Locking Statements”

SET autocommit = 0

Section 18.3.10, “Semisynchronous Replication”

SET CHARACTER SET

Section 10.1.4, “Connection Character Sets and Collations”
Section 27.7.7.55, “mysql_real_escape_string()”
Section 27.7.7.56, “mysql_real_escape_string_quote()”
Section C.7, “Restrictions on Character Sets”
Section 5.1.5, “Server System Variables”
Section 13.7.4, “SET Syntax”
Section 10.1.9, “Unicode Support”

SET CHARACTER SET charset_name

Section 10.1.4, “Connection Character Sets and Collations”

SET DEFAULT ROLE

Section 13.7.1.1, “ALTER USER Syntax”
Section 5.1.5, “Server System Variables”
Section 13.7.1.9, “SET DEFAULT ROLE Syntax”
Section 13.7.1.11, “SET ROLE Syntax”
Section 13.7.4, “SET Syntax”
Section 6.3.4, “Using Roles”

SET GLOBAL

Section 15.6.4, “Configuring InnoDB Change Buffering”
Section 5.1.6.2, “Dynamic System Variables”
Section 13.7.1.6, “GRANT Syntax”
Section 8.10.2.2, “Multiple Key Caches”
Section 18.3.10.2, “Semisynchronous Replication Installation and Configuration”
Section 13.7.4.1, “SET Syntax for Variable Assignment”
Section 5.1.6, “Using System Variables”
Section B.5.3.5, “Where MySQL Stores Temporary Files”

SET GLOBAL sql_slave_skip_counter

Section 13.4.2.5, “SET GLOBAL sql_slave_skip_counter Syntax”

SET GLOBAL TRANSACTION

Section 13.3.6, “SET TRANSACTION Syntax”

SET NAMES

Section 27.7.23, “C API Automatic Reconnection Control”
Section 10.1.3.6, “Character String Literal Character Set and Collation”
Section 10.1.5, “Configuring Application Character Set and Collation”
Section 10.1.4, “Connection Character Sets and Collations”
Section 10.1.6, “Error Message Character Set”
Section 13.2.7, “LOAD DATA INFILE Syntax”
Section A.11, “MySQL 8.0 FAQ: MySQL Chinese, Japanese, and Korean Character Sets”
Section 4.5.1.2, “mysql Commands”
Section 27.7.7.55, “mysql_real_escape_string()”
Section 27.7.7.56, “mysql_real_escape_string_quote()”
Section 27.7.7.60, “mysql_reset_connection()”
Section 27.7.7.69, “mysql_set_character_set()”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section C.7, “Restrictions on Character Sets”
Section 5.1.5, “Server System Variables”
Section 13.7.4.3, “SET NAMES Syntax”
Section 13.7.4, “SET Syntax”
Section 10.1.10.7.2, “The gb18030 Character Set”
Section 12.2, “Type Conversion in Expression Evaluation”
Section 10.1.9, “Unicode Support”
Section 10.1.2.2, “UTF-8 for Metadata”

SET NAMES 'charset_name'

Section 10.1.4, “Connection Character Sets and Collations”

SET NAMES 'cp1251'

Section 10.1.4, “Connection Character Sets and Collations”

SET NAMES charset_name

Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”

SET NAMES default_character_set

Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”

SET PASSWORD

Section 6.2.3, “Grant Tables”
Section 12.14, “Information Functions”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 6.3.9, “Password Expiration and Sandbox Mode”
Section 6.3.8, “Password Expiration Policy”
Section 6.5.3.2, “Password Validation Plugin Options and Variables”
Section 6.1.2.3, “Passwords and Logging”
Section 18.4.1.38, “Replication and Variables”
Section 18.4.1.8, “Replication of CURRENT_USER()”
Section B.5.3.2.3, “Resetting the Root Password: Generic Instructions”
Section 5.1.5, “Server System Variables”
Section 13.7.1.10, “SET PASSWORD Syntax”
Section 13.7.4, “SET Syntax”
Section 6.2.4, “Specifying Account Names”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 6.5.3, “The Password Validation Plugin”
Section 6.2.9, “Troubleshooting Problems Connecting to MySQL”
Section 6.2.8, “When Privilege Changes Take Effect”

SET PASSWORD ... = 'auth_string'

Section 13.7.1.10, “SET PASSWORD Syntax”

SET PASSWORD ... = PASSWORD()

Section 13.7.1.10, “SET PASSWORD Syntax”

SET PERSIST

Section 6.5.2.1, “Connection-Control Plugin Installation”
Section 25.11.13.1, “Performance Schema persisted_variables Table”
Section 6.2.1, “Privileges Provided by MySQL”
Section 5.1.5, “Server System Variables”
Section 13.7.4.1, “SET Syntax for Variable Assignment”
Section 5.4.2, “The Error Log”
Section 4.2.6, “Using Option Files”
Section 6.3.4, “Using Roles”
Section 5.1.6, “Using System Variables”

SET PERSIST_ONLY

Section 6.2.1, “Privileges Provided by MySQL”
Section 13.7.4.1, “SET Syntax for Variable Assignment”
Section 5.1.6, “Using System Variables”

SET ROLE

Section 12.14, “Information Functions”
Section 5.1.5, “Server System Variables”
Section 13.7.1.11, “SET ROLE Syntax”
Section 13.7.4, “SET Syntax”
Section 13.7.5.21, “SHOW GRANTS Syntax”
Section 6.3.4, “Using Roles”

SET ROLE DEFAULT

Section 13.7.1.1, “ALTER USER Syntax”
Section 13.7.1.9, “SET DEFAULT ROLE Syntax”
Section 13.7.1.11, “SET ROLE Syntax”
Section 5.3, “The mysql System Database”

SET SESSION

Section 5.1.6.2, “Dynamic System Variables”
Section 13.7.4.1, “SET Syntax for Variable Assignment”
Section 5.1.6, “Using System Variables”
Section B.5.3.5, “Where MySQL Stores Temporary Files”

SET SESSION TRANSACTION

Section 13.3.6, “SET TRANSACTION Syntax”

SET sql_mode='modes'

Section A.3, “MySQL 8.0 FAQ: Server SQL Mode”

SET TIMESTAMP = value

Section 8.14, “Examining Thread Information”

SET TRANSACTION

Section 5.1.4, “Server Command Options”
Section 5.1.5, “Server System Variables”
Section 13.3.6, “SET TRANSACTION Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 15.5.2.1, “Transaction Isolation Levels”

SET TRANSACTION ISOLATION LEVEL

Section 13.7.4, “SET Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”

SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

Section 15.19.7, “The InnoDB memcached Plugin and Replication”

SET var_name = value

Section 13.7.4, “SET Syntax”

SHOW

Section 27.7.5, “C API Data Structures”
Section 27.7.6, “C API Function Overview”
Section 13.1.11, “CREATE EVENT Syntax”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 3.3, “Creating and Using a Database”
Section 13.6.6.2, “Cursor DECLARE Syntax”
Section 14.1, “Data Dictionary Schema”
Section 24.33, “Extensions to SHOW Statements”
Section 14.5, “INFORMATION_SCHEMA and Data Dictionary Integration”
Chapter 24, INFORMATION_SCHEMA Tables
Section A.13, “MySQL 8.0 FAQ: Replication”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 27.7.11.28, “mysql_stmt_store_result()”
Section 27.7.7.77, “mysql_store_result()”
Section 27.7.7.79, “mysql_use_result()”
Section 4.5.8, “mysqlshow — Display Database, Table, and Column Information”
Section 25.1, “Performance Schema Quick Start”
Section C.1, “Restrictions on Stored Programs”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.7.5, “SHOW Syntax”
Section 13.7.5.37, “SHOW TABLES Syntax”
Section 13.4.1, “SQL Statements for Controlling Master Servers”
Section 5.4.4, “The Binary Log”
Section 24.1, “The INFORMATION_SCHEMA CHARACTER_SETS Table”
Section 24.3, “The INFORMATION_SCHEMA COLLATION_CHARACTER_SET_APPLICABILITY Table”
Section 24.2, “The INFORMATION_SCHEMA COLLATIONS Table”
Section 24.5, “The INFORMATION_SCHEMA COLUMN_PRIVILEGES Table”
Section 24.4, “The INFORMATION_SCHEMA COLUMNS Table”
Section 24.7, “The INFORMATION_SCHEMA ENGINES Table”
Section 24.8, “The INFORMATION_SCHEMA EVENTS Table”
Section 24.9, “The INFORMATION_SCHEMA FILES Table”
Section 24.10, “The INFORMATION_SCHEMA KEY_COLUMN_USAGE Table”
Section 24.13, “The INFORMATION_SCHEMA PARTITIONS Table”
Section 24.14, “The INFORMATION_SCHEMA PLUGINS Table”
Section 24.15, “The INFORMATION_SCHEMA PROCESSLIST Table”
Section 24.16, “The INFORMATION_SCHEMA PROFILING Table”
Section 24.17, “The INFORMATION_SCHEMA REFERENTIAL_CONSTRAINTS Table”
Section 24.20, “The INFORMATION_SCHEMA SCHEMA_PRIVILEGES Table”
Section 24.19, “The INFORMATION_SCHEMA SCHEMATA Table”
Section 24.21, “The INFORMATION_SCHEMA STATISTICS Table”
Section 24.26, “The INFORMATION_SCHEMA TABLE_CONSTRAINTS Table”
Section 24.27, “The INFORMATION_SCHEMA TABLE_PRIVILEGES Table”
Section 24.24, “The INFORMATION_SCHEMA TABLES Table”
Section 24.25, “The INFORMATION_SCHEMA TABLESPACES Table”
Section 24.28, “The INFORMATION_SCHEMA TRIGGERS Table”
Section 24.29, “The INFORMATION_SCHEMA USER_PRIVILEGES Table”
Section 24.30, “The INFORMATION_SCHEMA VIEWS Table”
Section 1.3.2, “The Main Features of MySQL”
Section 26.2, “Using the sys Schema”
Section 10.1.2.2, “UTF-8 for Metadata”

SHOW BINARY LOGS

Section 6.2.1, “Privileges Provided by MySQL”
Section 13.4.1.1, “PURGE BINARY LOGS Syntax”
Section 13.7.5.1, “SHOW BINARY LOGS Syntax”
Section 13.4.1, “SQL Statements for Controlling Master Servers”
Section 4.6.8.3, “Using mysqlbinlog to Back Up Binary Log Files”

SHOW BINLOG EVENTS

Section 18.1.3.1, “GTID Concepts”
Section C.3, “Restrictions on Server-Side Cursors”
Section 13.7.5.2, “SHOW BINLOG EVENTS Syntax”
Section 13.4.1, “SQL Statements for Controlling Master Servers”
Section 13.4.2.6, “START SLAVE Syntax”

SHOW CHARACTER SET

Section 13.1.1, “ALTER DATABASE Syntax”
Section 10.1.3.8, “Character Set Introducers”
Section 10.1.2, “Character Sets and Collations in MySQL”
Section 10.1.3.6, “Character String Literal Character Set and Collation”
Section 10.1.3.5, “Column Character Set and Collation”
Section 10.1.3.3, “Database Character Set and Collation”
Section 24.33, “Extensions to SHOW Statements”
Section 13.7.5.3, “SHOW CHARACTER SET Syntax”
Section 10.1.10, “Supported Character Sets and Collations”
Section 10.1.3.4, “Table Character Set and Collation”

SHOW COLLATION

Section 13.1.1, “ALTER DATABASE Syntax”
Section 27.7.5, “C API Data Structures”
Section 10.5, “Character Set Configuration”
Section 10.1.2, “Character Sets and Collations in MySQL”
Section 10.4.2, “Choosing a Collation ID”
Section 2.8.4, “MySQL Source-Configuration Options”
Section 13.7.5.4, “SHOW COLLATION Syntax”
Section 24.3, “The INFORMATION_SCHEMA COLLATION_CHARACTER_SET_APPLICABILITY Table”
Section 24.2, “The INFORMATION_SCHEMA COLLATIONS Table”

SHOW COLUMNS

Section 13.8.2, “EXPLAIN Syntax”
Section 24.33, “Extensions to SHOW Statements”
Section 8.4.4, “Internal Temporary Table Use in MySQL”
Section 27.7.7.43, “mysql_list_fields()”
Section 25.1, “Performance Schema Quick Start”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 24.31.1, “The INFORMATION_SCHEMA INNODB_BUFFER_PAGE Table”
Section 24.31.2, “The INFORMATION_SCHEMA INNODB_BUFFER_PAGE_LRU Table”
Section 24.31.3, “The INFORMATION_SCHEMA INNODB_BUFFER_POOL_STATS Table”
Section 24.31.4, “The INFORMATION_SCHEMA INNODB_CACHED_INDEXES Table”
Section 24.31.5, “The INFORMATION_SCHEMA INNODB_CMP and INNODB_CMP_RESET Tables”
Section 24.31.7, “The INFORMATION_SCHEMA INNODB_CMP_PER_INDEX and INNODB_CMP_PER_INDEX_RESET Tables”
Section 24.31.6, “The INFORMATION_SCHEMA INNODB_CMPMEM and INNODB_CMPMEM_RESET Tables”
Section 24.31.8, “The INFORMATION_SCHEMA INNODB_FT_BEING_DELETED Table”
Section 24.31.9, “The INFORMATION_SCHEMA INNODB_FT_CONFIG Table”
Section 24.31.10, “The INFORMATION_SCHEMA INNODB_FT_DEFAULT_STOPWORD Table”
Section 24.31.11, “The INFORMATION_SCHEMA INNODB_FT_DELETED Table”
Section 24.31.12, “The INFORMATION_SCHEMA INNODB_FT_INDEX_CACHE Table”
Section 24.31.13, “The INFORMATION_SCHEMA INNODB_FT_INDEX_TABLE Table”
Section 24.31.16, “The INFORMATION_SCHEMA INNODB_METRICS Table”
Section 24.31.17, “The INFORMATION_SCHEMA INNODB_SYS_COLUMNS Table”
Section 24.31.18, “The INFORMATION_SCHEMA INNODB_SYS_DATAFILES Table”
Section 24.31.19, “The INFORMATION_SCHEMA INNODB_SYS_FIELDS Table”
Section 24.31.20, “The INFORMATION_SCHEMA INNODB_SYS_FOREIGN Table”
Section 24.31.21, “The INFORMATION_SCHEMA INNODB_SYS_FOREIGN_COLS Table”
Section 24.31.22, “The INFORMATION_SCHEMA INNODB_SYS_INDEXES Table”
Section 24.31.23, “The INFORMATION_SCHEMA INNODB_SYS_TABLES Table”
Section 24.31.24, “The INFORMATION_SCHEMA INNODB_SYS_TABLESPACES Table”
Section 24.31.25, “The INFORMATION_SCHEMA INNODB_SYS_TABLESTATS View”
Section 24.31.26, “The INFORMATION_SCHEMA INNODB_SYS_VIRTUAL Table”
Section 24.31.27, “The INFORMATION_SCHEMA INNODB_TEMP_TABLE_INFO Table”
Section 24.31.28, “The INFORMATION_SCHEMA INNODB_TRX Table”

SHOW COLUMNS FROM tbl_name LIKE 'enum_col'

Section 11.4.4, “The ENUM Type”

SHOW COUNT()

Section 13.7.5.17, “SHOW ERRORS Syntax”
Section 13.7.5.40, “SHOW WARNINGS Syntax”

SHOW CREATE DATABASE

Section 5.1.5, “Server System Variables”
Section 13.7.5.6, “SHOW CREATE DATABASE Syntax”

SHOW CREATE EVENT

Section 23.4.4, “Event Metadata”
Section 13.7.5.18, “SHOW EVENTS Syntax”
Section 23.4.6, “The Event Scheduler and MySQL Privileges”

SHOW CREATE FUNCTION

Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 1.7, “How to Report Bugs or Problems”
Section A.4, “MySQL 8.0 FAQ: Stored Procedures and Functions”
Section 13.7.5.9, “SHOW CREATE PROCEDURE Syntax”
Section 23.2.3, “Stored Routine Metadata”

SHOW CREATE PROCEDURE

Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 1.7, “How to Report Bugs or Problems”
Section A.4, “MySQL 8.0 FAQ: Stored Procedures and Functions”
Section 13.7.5.8, “SHOW CREATE FUNCTION Syntax”
Section 23.2.3, “Stored Routine Metadata”

SHOW CREATE SCHEMA

Section 13.7.5.6, “SHOW CREATE DATABASE Syntax”

SHOW CREATE TABLE

Section 13.1.7, “ALTER TABLE Syntax”
Section 15.6.12, “Configuring the Merge Threshold for Index Pages”
Section 13.1.16.1, “CREATE TABLE Statement Retention”
Section 13.1.16, “CREATE TABLE Syntax”
Section 15.9.1.2, “Creating Compressed Tables”
Section 14.1, “Data Dictionary Schema”
Section 11.7, “Data Type Default Values”
Section 13.8.2, “EXPLAIN Syntax”
Section 3.4, “Getting Information About Databases and Tables”
Section 16.8.2, “How to Create FEDERATED Tables”
Section 7.6.3, “How to Repair MyISAM Tables”
Section 15.9.2, “InnoDB Page Compression”
Section 22.2.5, “KEY Partitioning”
Section 22.3.1, “Management of RANGE and LIST Partitions”
Section 22.3.5, “Obtaining Information About Partitions”
Section 8.2.4, “Optimizing Performance Schema Queries”
Section 25.1, “Performance Schema Quick Start”
Section 2.10.3, “Rebuilding or Repairing Tables or Indexes”
Section 5.1.8, “Server SQL Modes”
Section 5.1.5, “Server System Variables”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.7.5.10, “SHOW CREATE TABLE Syntax”
Section 13.1.16.7, “Silent Column Specification Changes”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”
Section 3.6.6, “Using Foreign Keys”

SHOW CREATE TRIGGER

Section 13.7.5.11, “SHOW CREATE TRIGGER Syntax”
Section 24.28, “The INFORMATION_SCHEMA TRIGGERS Table”
Section 23.3.2, “Trigger Metadata”

SHOW CREATE USER

Section 6.3.2, “Adding User Accounts”
Section 6.2.3, “Grant Tables”
Section 13.7.5.21, “SHOW GRANTS Syntax”
Section 6.3.12, “User Account Locking”

SHOW CREATE VIEW

Section 13.7.1.6, “GRANT Syntax”
Section 6.2.1, “Privileges Provided by MySQL”
Section C.5, “Restrictions on Views”
Section 13.7.5.13, “SHOW CREATE VIEW Syntax”
Section 24.30, “The INFORMATION_SCHEMA VIEWS Table”
Section 23.5.5, “View Metadata”

SHOW DATABASES

Section 3.3, “Creating and Using a Database”
Section 24.33, “Extensions to SHOW Statements”
Section 3.4, “Getting Information About Databases and Tables”
Section 13.7.1.6, “GRANT Syntax”
Section 6.2.3, “Grant Tables”
Section 9.2.2, “Identifier Case Sensitivity”
Section 14.5, “INFORMATION_SCHEMA and Data Dictionary Integration”
Chapter 24, INFORMATION_SCHEMA Tables
Section 5.1.4, “Server Command Options”
Section 5.1.5, “Server System Variables”
Section 13.7.5.14, “SHOW DATABASES Syntax”

SHOW ENGINE

Section 6.2.1, “Privileges Provided by MySQL”
Section 13.7.5.15, “SHOW ENGINE Syntax”

SHOW ENGINE INNODB MUTEX

Section 15.16.3, “InnoDB Standard Monitor and Lock Monitor Output”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.7.5.15, “SHOW ENGINE Syntax”

SHOW ENGINE INNODB STATUS

Section 15.4.3, “Adaptive Hash Index”
Section 15.6.2, “Configuring InnoDB for Read-Only Operation”
Section 15.8.1.4, “Converting Tables from MyISAM to InnoDB”
Section 15.5.5, “Deadlocks in InnoDB”
Section 15.16.2, “Enabling InnoDB Monitors”
Section 15.5.5.3, “How to Minimize and Handle Deadlocks”
Section 15.8.1.6, “InnoDB and FOREIGN KEY Constraints”
Section 15.14.5, “InnoDB INFORMATION_SCHEMA Buffer Pool Tables”
Section 15.14.6, “InnoDB INFORMATION_SCHEMA Metrics Table”
Section 15.14.3, “InnoDB INFORMATION_SCHEMA System Tables”
Section 15.5.1, “InnoDB Locking”
Section 15.16.3, “InnoDB Standard Monitor and Lock Monitor Output”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 15.6.3.9, “Monitoring the Buffer Pool Using the InnoDB Standard Monitor”
Section 15.8.1.3, “Moving or Copying InnoDB Tables”
MySQL Glossary
Section 8.5.8, “Optimizing InnoDB Disk I/O”
Section 8.5.3, “Optimizing InnoDB Read-Only Transactions”
Section 13.7.5.15, “SHOW ENGINE Syntax”
Section B.1, “Sources of Error Information”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”

SHOW ENGINE PERFORMANCE_SCHEMA STATUS

Section 25.9, “Performance Schema Statement Digests”
Section 25.7, “Performance Schema Status Monitoring”
Section 13.7.5.15, “SHOW ENGINE Syntax”

SHOW ENGINES

Chapter 16, Alternative Storage Engines
Section 25.2, “Performance Schema Build Configuration”
Section 25.1, “Performance Schema Quick Start”
Section 2.3.5.3, “Selecting a MySQL Server Type”
Section 5.1.5, “Server System Variables”
Section 13.7.5.16, “SHOW ENGINES Syntax”
Section 16.5, “The ARCHIVE Storage Engine”
Section 16.6, “The BLACKHOLE Storage Engine”
Section 15.1.3, “Verifying that InnoDB is the Default Storage Engine”

SHOW ERRORS

Section 13.6.7.3, “GET DIAGNOSTICS Syntax”
Section 13.6.7.7.3, “How the Diagnostics Area is Populated”
Section 15.8.1.6, “InnoDB and FOREIGN KEY Constraints”
Section 13.6.7.4.3, “RESIGNAL with a Condition Value and Optional New Signal Information”
Section 5.1.5, “Server System Variables”
Section 13.7.5.17, “SHOW ERRORS Syntax”
Section 13.7.5.40, “SHOW WARNINGS Syntax”
Section 13.6.7.5.1, “Signal Condition Information Items”
Section B.1, “Sources of Error Information”

SHOW EVENTS

Section 23.4.4, “Event Metadata”
Section 18.4.1.12, “Replication of Invoked Features”
Section 13.7.5.18, “SHOW EVENTS Syntax”
Section 23.4.6, “The Event Scheduler and MySQL Privileges”
Section 24.8, “The INFORMATION_SCHEMA EVENTS Table”

SHOW FULL COLUMNS

Section 13.1.16, “CREATE TABLE Syntax”
Section 24.5, “The INFORMATION_SCHEMA COLUMN_PRIVILEGES Table”

SHOW FULL PROCESSLIST

Section 8.14, “Examining Thread Information”
Section 4.5.2, “mysqladmin — Client for Administering a MySQL Server”

SHOW FULL TABLES

Section 4.5.8, “mysqlshow — Display Database, Table, and Column Information”

SHOW FUNCTION CODE

Section 13.7.5.27, “SHOW PROCEDURE CODE Syntax”

SHOW FUNCTION STATUS

Section 13.7.5.28, “SHOW PROCEDURE STATUS Syntax”
Section 23.2.3, “Stored Routine Metadata”

SHOW GLOBAL STATUS

Section 5.1.5, “Server System Variables”

SHOW GRANTS

Section 6.3.2, “Adding User Accounts”
Section 13.7.1.6, “GRANT Syntax”
Section 6.2.3, “Grant Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.7.1.8, “REVOKE Syntax”
Section 6.1.1, “Security Guidelines”
Section 5.1.5, “Server System Variables”
Section 13.7.5.12, “SHOW CREATE USER Syntax”
Section 13.7.5.21, “SHOW GRANTS Syntax”
Section 13.7.5.26, “SHOW PRIVILEGES Syntax”
Section 6.2, “The MySQL Access Privilege System”
Section 6.2.9, “Troubleshooting Problems Connecting to MySQL”
Section 6.3.4, “Using Roles”

SHOW GRANTS FOR CURRENT_USER

Section 13.7.5.21, “SHOW GRANTS Syntax”

SHOW GRANTS FOR user

Section 13.7.5.21, “SHOW GRANTS Syntax”

SHOW INDEX

Section 13.7.2.1, “ANALYZE TABLE Syntax”
Section 15.6.11.2, “Configuring Non-Persistent Optimizer Statistics Parameters”
Section 15.6.12, “Configuring the Merge Threshold for Index Pages”
Section 8.8.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 8.9.4, “Index Hints”
Section 8.3.7, “InnoDB and MyISAM Index Statistics Collection”
Section 8.3.11, “Invisible Indexes”
Section 15.8.1.7, “Limits on InnoDB Tables”
Section 8.9.2, “Optimizer Hints”
Section 8.2.4, “Optimizing Performance Schema Queries”
Section 4.6.4.4, “Other myisamchk Options”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.7.5.22, “SHOW INDEX Syntax”
Section 24.21, “The INFORMATION_SCHEMA STATISTICS Table”
Section 24.26, “The INFORMATION_SCHEMA TABLE_CONSTRAINTS Table”

SHOW MASTER LOGS

Section 13.7.5.1, “SHOW BINARY LOGS Syntax”

SHOW MASTER STATUS

Section 18.1.6.5, “Global Transaction ID Options and Variables”
Section 18.1.3.1, “GTID Concepts”
Section 18.4.5, “How to Report Replication Bugs or Problems”
Section 18.1.2.4, “Obtaining the Replication Master Binary Log Coordinates”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.7.5.34, “SHOW SLAVE STATUS Syntax”
Section 13.4.1, “SQL Statements for Controlling Master Servers”
Section 15.19.7, “The InnoDB memcached Plugin and Replication”
Section 18.4.4, “Troubleshooting Replication”

SHOW OPEN TABLES

Section 13.7.5.24, “SHOW OPEN TABLES Syntax”

SHOW PLUGINS

Section 6.5.2.1, “Connection-Control Plugin Installation”
Section 15.7.10, “InnoDB Tablespace Encryption”
Section 13.7.3.4, “INSTALL PLUGIN Syntax”
Section 5.6.1, “Installing and Uninstalling Plugins”
Section 6.5.4.1, “Keyring Plugin Installation”
Section 12.9.9, “MeCab Full-Text Parser Plugin”
Section A.2, “MySQL 8.0 FAQ: Storage Engines”
Section 6.5.1.4, “No-Login Pluggable Authentication”
Section 5.6.2, “Obtaining Server Plugin Information”
Section 6.5.3.1, “Password Validation Plugin Installation”
Section 28.2.2, “Plugin API Characteristics”
Section 28.2.3, “Plugin API Components”
Section 18.3.10.2, “Semisynchronous Replication Installation and Configuration”
Section 28.2.4.2.1, “Server Plugin Library and Plugin Descriptors”
Section 13.7.5.25, “SHOW PLUGINS Syntax”
Section 6.5.1.5, “Socket Peer-Credential Pluggable Authentication”
Section 6.5.1.6, “Test Pluggable Authentication”
Section 24.14, “The INFORMATION_SCHEMA PLUGINS Table”
Section 1.4, “What Is New in MySQL 8.0”
Section 28.2.4.8, “Writing Audit Plugins”
Section 28.2.4.5, “Writing Daemon Plugins”
Section 28.2.4.4, “Writing Full-Text Parser Plugins”
Section 28.2.4.6, “Writing INFORMATION_SCHEMA Plugins”
Section 28.2.4.12, “Writing Keyring Plugins”
Section 28.2.4.10, “Writing Password-Validation Plugins”
Section 28.2.4.9.1, “Writing the Server-Side Authentication Plugin”

SHOW PRIVILEGES

Section 13.7.5.26, “SHOW PRIVILEGES Syntax”

SHOW PROCEDURE CODE

Section 13.7.5.19, “SHOW FUNCTION CODE Syntax”

SHOW PROCEDURE STATUS

Section 13.7.5.20, “SHOW FUNCTION STATUS Syntax”
Section 23.2.3, “Stored Routine Metadata”

SHOW PROCESSLIST

Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 18.1.7.1, “Checking Replication Status”
Section 18.3.11, “Delayed Replication”
Section 23.4.2, “Event Scheduler Configuration”
Section 8.14, “Examining Thread Information”
Section 8.14.2, “General Thread States”
Section 13.7.1.6, “GRANT Syntax”
Section 18.1.3.1, “GTID Concepts”
Section 12.14, “Information Functions”
Section 15.20.4, “InnoDB Error Handling”
Section 13.7.6.4, “KILL Syntax”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section A.13, “MySQL 8.0 FAQ: Replication”
Section 27.7.7.44, “mysql_list_processes()”
Section 4.5.2, “mysqladmin — Client for Administering a MySQL Server”
Section 8.8.4, “Obtaining Execution Plan Information for a Named Connection”
Section 25.6, “Performance Schema Instrument Naming Conventions”
Section 25.11.5, “Performance Schema Stage Event Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.2.2, “Replication Implementation Details”
Section 5.1.5, “Server System Variables”
Section 13.7.5.29, “SHOW PROCESSLIST Syntax”
Section 13.7.5.30, “SHOW PROFILE Syntax”
Section 13.7.5.34, “SHOW SLAVE STATUS Syntax”
Section 13.4.2.6, “START SLAVE Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 18.3.8, “Switching Masters During Failover”
Section 24.15, “The INFORMATION_SCHEMA PROCESSLIST Table”
Section 26.4.3.22, “The processlist and x$processlist Views”
Section 26.4.5.13, “The ps_is_thread_instrumented() Function”
Section 26.4.4.7, “The ps_setup_disable_thread() Procedure”
Section 26.4.4.11, “The ps_setup_enable_thread() Procedure”
Section 26.4.5.15, “The ps_thread_id() Function”
Section 25.11.16.3, “The threads Table”
Section B.5.2.6, “Too many connections”
Section 18.4.4, “Troubleshooting Replication”

SHOW PROFILE

Section 8.14, “Examining Thread Information”
Section 8.14.2, “General Thread States”
Section 2.8.4, “MySQL Source-Configuration Options”
Section 25.18.1, “Query Profiling Using Performance Schema”
Section 5.1.5, “Server System Variables”
Section 13.7.5.30, “SHOW PROFILE Syntax”
Section 13.7.5.31, “SHOW PROFILES Syntax”
Section 24.16, “The INFORMATION_SCHEMA PROFILING Table”

SHOW PROFILES

Section 2.8.4, “MySQL Source-Configuration Options”
Section 25.18.1, “Query Profiling Using Performance Schema”
Section 5.1.5, “Server System Variables”
Section 13.7.5.30, “SHOW PROFILE Syntax”
Section 13.7.5.31, “SHOW PROFILES Syntax”
Section 24.16, “The INFORMATION_SCHEMA PROFILING Table”

SHOW RELAYLOG EVENTS

Section 18.2.3.1, “Commands for Operations on a Single Channel”
Section 18.2.3.2, “Compatibility with Previous Replication Statements”
Section 13.7.5.2, “SHOW BINLOG EVENTS Syntax”
Section 13.7.5.32, “SHOW RELAYLOG EVENTS Syntax”
Section 13.4.2, “SQL Statements for Controlling Slave Servers”

SHOW SCHEMAS

Section 13.7.5.14, “SHOW DATABASES Syntax”

SHOW SLAVE HOSTS

Section 18.1.7.1, “Checking Replication Status”
Section 18.1.6, “Replication and Binary Logging Options and Variables”
Section 18.1.6.2, “Replication Master Options and Variables”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 13.4.1, “SQL Statements for Controlling Master Servers”

SHOW SLAVE STATUS

Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 18.1.7.1, “Checking Replication Status”
Section 18.2.3.1, “Commands for Operations on a Single Channel”
Section 18.2.3.2, “Compatibility with Previous Replication Statements”
Section 18.3.11, “Delayed Replication”
Section 18.1.6.5, “Global Transaction ID Options and Variables”
Section 18.1.3.1, “GTID Concepts”
Section 18.4.5, “How to Report Replication Bugs or Problems”
Section A.13, “MySQL 8.0 FAQ: Replication”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 25.11.11, “Performance Schema Replication Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.4.1.1, “PURGE BINARY LOGS Syntax”
Section 18.1.6, “Replication and Binary Logging Options and Variables”
Section 18.4.1.34, “Replication and Transaction Inconsistencies”
Section 18.2.2, “Replication Implementation Details”
Section 18.1.5.1, “Replication Mode Concepts”
Section 8.14.4, “Replication Slave I/O Thread States”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 18.3.9, “Setting Up Replication to Use Encrypted Connections”
Section 13.7.5.23, “SHOW MASTER STATUS Syntax”
Section 13.7.5.34, “SHOW SLAVE STATUS Syntax”
Section 18.4.1.28, “Slave Errors During Replication”
Section 18.2.4.2, “Slave Status Logs”
Section B.1, “Sources of Error Information”
Section 13.4.2, “SQL Statements for Controlling Slave Servers”
Section 13.4.2.6, “START SLAVE Syntax”
Section 25.11.11.3, “The replication_applier_configuration Table”
Section 25.11.11.4, “The replication_applier_status Table”
Section 25.11.11.5, “The replication_applier_status_by_coordinator Table”
Section 25.11.11.6, “The replication_applier_status_by_worker Table”
Section 25.11.11.1, “The replication_connection_configuration Table”
Section 25.11.11.2, “The replication_connection_status Table”
Section 18.4.4, “Troubleshooting Replication”

SHOW STATUS

Section 25.11.11, “Performance Schema Replication Tables”
Section 25.14, “Performance Schema System Variables”
Section 28.2.2, “Plugin API Characteristics”
Section 18.4.1.24, “Replication and Temporary Tables”
Section 18.2.2, “Replication Implementation Details”
Section 18.4.1.31, “Replication Retries and Timeouts”
Section C.1, “Restrictions on Stored Programs”
Section 18.3.10.3, “Semisynchronous Replication Monitoring”
Section 28.2.4.2.1, “Server Plugin Library and Plugin Descriptors”
Section 28.2.4.2.2, “Server Plugin Status and System Variables”
Section 5.1.7, “Server Status Variables”
Section 5.1.5, “Server System Variables”
Section 13.7.5.35, “SHOW STATUS Syntax”
Section 8.3.9, “Use of Index Extensions”
Section 28.2.4.8, “Writing Audit Plugins”
Section 28.2.4.4, “Writing Full-Text Parser Plugins”
Section 28.2.4, “Writing Plugins”

SHOW STATUS LIKE 'perf%'

Section 25.7, “Performance Schema Status Monitoring”

SHOW TABLE STATUS

Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”
Section 15.6.11.2, “Configuring Non-Persistent Optimizer Statistics Parameters”
Section 13.1.16.1, “CREATE TABLE Statement Retention”
Section 13.1.16, “CREATE TABLE Syntax”
Section 15.8.1.1, “Creating InnoDB Tables”
Section 13.8.2, “EXPLAIN Syntax”
Section 15.11.2, “File Space Management”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 15.8.1.7, “Limits on InnoDB Tables”
MySQL Glossary
Section 22.3.5, “Obtaining Information About Partitions”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.7.5.36, “SHOW TABLE STATUS Syntax”
Section 15.10.2, “Specifying the Row Format for a Table”
Section 16.5, “The ARCHIVE Storage Engine”
Section 24.24, “The INFORMATION_SCHEMA TABLES Table”
Section 15.8.1.2, “The Physical Row Structure of an InnoDB Table”

SHOW TABLES

Section 3.3.2, “Creating a Table”
Section 14.1, “Data Dictionary Schema”
Section 24.33, “Extensions to SHOW Statements”
Section 9.2.2, “Identifier Case Sensitivity”
Chapter 24, INFORMATION_SCHEMA Tables
Section 15.14, “InnoDB INFORMATION_SCHEMA Tables”
MySQL Glossary
Section 13.7.5.36, “SHOW TABLE STATUS Syntax”
Section 13.7.5.37, “SHOW TABLES Syntax”
Section B.5.2.15, “Table 'tbl_name' doesn't exist”
Section B.5.6.2, “TEMPORARY Table Problems”
Section 5.3, “The mysql System Database”

SHOW TRIGGERS

Section A.5, “MySQL 8.0 FAQ: Triggers”
Section 13.7.5.38, “SHOW TRIGGERS Syntax”
Section 24.28, “The INFORMATION_SCHEMA TRIGGERS Table”
Section 23.3.2, “Trigger Metadata”
Section 2.10.1, “Upgrading MySQL”

SHOW VARIABLES

Section 28.2.4.3, “Compiling and Installing Plugin Libraries”
Section 23.4.2, “Event Scheduler Configuration”
Section 18.1.4.3, “Multi-Source Replication Monitoring”
Section A.11, “MySQL 8.0 FAQ: MySQL Chinese, Japanese, and Korean Character Sets”
Section 25.3, “Performance Schema Startup Configuration”
Section 25.14, “Performance Schema System Variables”
Section 28.2.2, “Plugin API Characteristics”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 5.7, “Running Multiple MySQL Instances on One Machine”
Section 18.3.10.3, “Semisynchronous Replication Monitoring”
Section 5.1.4, “Server Command Options”
Section 5.1.5, “Server System Variables”
Section 13.7.4.1, “SET Syntax for Variable Assignment”
Section 13.7.5.39, “SHOW VARIABLES Syntax”
Section 5.1.6, “Using System Variables”
Section 28.2.4.8, “Writing Audit Plugins”
Section 28.2.4.12, “Writing Keyring Plugins”
Section 28.2.4.10, “Writing Password-Validation Plugins”
Section 28.2.4, “Writing Plugins”

SHOW WARNINGS

Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 13.1.7, “ALTER TABLE Syntax”
Section 10.4.4.3, “Diagnostics During Index.xml Parsing”
Section 13.1.24, “DROP PROCEDURE and DROP FUNCTION Syntax”
Section 13.1.26, “DROP TABLE Syntax”
Section 13.6.7.5.2, “Effect of Signals on Handlers, Cursors, and Statements”
Section 8.8.2, “EXPLAIN Output Format”
Section 8.8.3, “Extended EXPLAIN Output Format”
Section 9.2.4, “Function Name Parsing and Resolution”
Section 13.6.7.3, “GET DIAGNOSTICS Syntax”
Section 13.6.7.7.3, “How the Diagnostics Area is Populated”
Section 13.2.7, “LOAD DATA INFILE Syntax”
Section 5.4.4.3, “Mixed Binary Logging Format”
Section 8.9.2, “Optimizer Hints”
Section 8.3.10, “Optimizer Use of Generated Column Indexes”
Section 8.2.3, “Optimizing INFORMATION_SCHEMA Queries”
Section 8.2.2.2, “Optimizing Subqueries with Materialization”
Section 8.2.2.4, “Optimizing Subqueries with the EXISTS Strategy”
Section 8.2.2.1, “Optimizing Subqueries, Derived Tables, View References, and Common Table Expressions with Semi-Join Transformations”
Section 1.8.3.1, “PRIMARY KEY and UNIQUE Index Constraints”
Section 13.1.16.9, “Secondary Indexes and Generated Columns”
Section B.3, “Server Error Codes and Messages”
Section 5.1.5, “Server System Variables”
Section 13.7.5.17, “SHOW ERRORS Syntax”
Section 13.7.5.40, “SHOW WARNINGS Syntax”
Section 13.6.7.5.1, “Signal Condition Information Items”
Section 13.6.7.5, “SIGNAL Syntax”
Section B.1, “Sources of Error Information”
Section 28.2.1, “Types of Plugins”
Section 5.6.3.2, “Using the Rewriter Query Rewrite Plugin”

SHUTDOWN

Section 27.7.7.73, “mysql_shutdown()”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.7.6.8, “SHUTDOWN Syntax”

SIGNAL

Section 13.6.7, “Condition Handling”
Section 13.6.7.1, “DECLARE ... CONDITION Syntax”
Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.6.7.7.2, “Diagnostics Area Information Items”
Section 13.6.7.5.2, “Effect of Signals on Handlers, Cursors, and Statements”
Section 13.6.7.7.3, “How the Diagnostics Area is Populated”
Section 12.14, “Information Functions”
Section 13.6.7.4, “RESIGNAL Syntax”
Section C.2, “Restrictions on Condition Handling”
Section C.1, “Restrictions on Stored Programs”
Section 13.6.7.6, “Scope Rules for Handlers”
Section 13.6.7.5.1, “Signal Condition Information Items”
Section 13.6.7.5, “SIGNAL Syntax”

SQL_AFTER_MTS_GAPS

Section 13.7.5.34, “SHOW SLAVE STATUS Syntax”
Section 13.4.2.6, “START SLAVE Syntax”

START GROUP_REPLICATION

Section 21.8, “Frequently Asked Questions”
Section 21.6, “Group Replication System Variables”

START SLAVE

Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 18.2.3.1, “Commands for Operations on a Single Channel”
Section 18.2.3.2, “Compatibility with Previous Replication Statements”
Section 18.3.11, “Delayed Replication”
Section 18.1.3.1, “GTID Concepts”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 6.1.2.3, “Passwords and Logging”
Section 18.1.7.2, “Pausing Replication on the Slave”
Section 25.11.11, “Performance Schema Replication Tables”
Section 18.3.6, “Replicating Different Databases to Different Slaves”
Section 18.1.6, “Replication and Binary Logging Options and Variables”
Section 18.4.1.34, “Replication and Transaction Inconsistencies”
Section 18.2.2, “Replication Implementation Details”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 13.4.2.4, “RESET SLAVE Syntax”
Section 18.3.10.2, “Semisynchronous Replication Installation and Configuration”
Section 13.7.5.34, “SHOW SLAVE STATUS Syntax”
Section 18.4.1.28, “Slave Errors During Replication”
Section 13.4.2.6, “START SLAVE Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 13.4.2.7, “STOP SLAVE Syntax”
Section 18.3.8, “Switching Masters During Failover”
Section 18.4.4, “Troubleshooting Replication”
Section 18.1.3.3, “Using GTIDs for Failover and Scaleout”

START SLAVE SQL_THREAD

Section 13.4.2.2, “CHANGE REPLICATION FILTER Syntax”

START SLAVE UNTIL

Section 18.1.6.3, “Replication Slave Options and Variables”

START SLAVE UNTIL SQL_AFTER_MTS_GAPS

Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 18.3.2, “Handling an Unexpected Halt of a Replication Slave”
Section 18.4.1.34, “Replication and Transaction Inconsistencies”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 13.7.5.34, “SHOW SLAVE STATUS Syntax”
Section 13.4.2.6, “START SLAVE Syntax”

START TRANSACTION

Section 15.5.2.2, “autocommit, Commit, and Rollback”
Section 13.6.1, “BEGIN ... END Compound-Statement Syntax”
Section 13.7.6.3, “FLUSH Syntax”
Section 15.5.5.3, “How to Minimize and Handle Deadlocks”
Section 15.20.4, “InnoDB Error Handling”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.3.5.1, “Interaction of Table Locking and Transactions”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 15.5.2.4, “Locking Reads”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 8.5.3, “Optimizing InnoDB Read-Only Transactions”
Section 25.11.7, “Performance Schema Transaction Tables”
Section C.1, “Restrictions on Stored Programs”
Section 18.3.10, “Semisynchronous Replication”
Section 5.1.5, “Server System Variables”
Section 13.3.6, “SET TRANSACTION Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 25.11.7.1, “The events_transactions_current Table”
Section 13.3, “Transactional and Locking Statements”
Section 23.3.1, “Trigger Syntax and Examples”
Section 13.3.7.2, “XA Transaction States”

START TRANSACTION READ ONLY

MySQL Glossary
Section 8.5.3, “Optimizing InnoDB Read-Only Transactions”

START TRANSACTION WITH CONSISTENT SNAPSHOT

Section 15.5.2.3, “Consistent Nonlocking Reads”

STATS_PERSISTENT=0

Section 15.6.11.2, “Configuring Non-Persistent Optimizer Statistics Parameters”

STATS_PERSISTENT=1

Section 15.6.11.1, “Configuring Persistent Optimizer Statistics Parameters”

STOP GROUP REPLICATION

Section 21.6, “Group Replication System Variables”

STOP GROUP_REPLICATION

Section 21.8, “Frequently Asked Questions”

STOP SLAVE

Section 18.1.2.8, “Adding Slaves to a Replication Environment”
Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 18.1.7.1, “Checking Replication Status”
Section 18.2.3.1, “Commands for Operations on a Single Channel”
Section 18.2.3.2, “Compatibility with Previous Replication Statements”
Section 18.3.11, “Delayed Replication”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 18.1.7.2, “Pausing Replication on the Slave”
Section 25.11.11, “Performance Schema Replication Tables”
Section 18.1.6, “Replication and Binary Logging Options and Variables”
Section 18.4.1.34, “Replication and Transaction Inconsistencies”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 13.4.1.2, “RESET MASTER Syntax”
Section 13.4.2.4, “RESET SLAVE Syntax”
Section 18.3.10.2, “Semisynchronous Replication Installation and Configuration”
Section 13.7.5.34, “SHOW SLAVE STATUS Syntax”
Section 13.4.2.6, “START SLAVE Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 13.4.2.7, “STOP SLAVE Syntax”
Section 18.3.8, “Switching Masters During Failover”
Section 25.11.11.6, “The replication_applier_status_by_worker Table”
Section 18.2.1.2, “Usage of Row-Based Logging and Replication”

STOP SLAVE SQL_THREAD

Section 13.4.2.2, “CHANGE REPLICATION FILTER Syntax”
Section 18.2.1.2, “Usage of Row-Based Logging and Replication”

T

[index top]

TRUNCATE PARTITION

Section 15.12.7, “Online DDL for Partitioned Tables”

TRUNCATE TABLE

Section 15.19.6.5, “Adapting DML Statements to memcached Operations”
Section 16.2.3.3, “Compressed Table Characteristics”
Section 15.8.1.4, “Converting Tables from MyISAM to InnoDB”
Section 13.1.18, “CREATE TRIGGER Syntax”
Section 14.7, “Data Dictionary Limitations”
Section 13.2.2, “DELETE Syntax”
Section 25.11.15.11, “Error Summary Tables”
Section 25.4.3, “Event Pre-Filtering”
Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 25.11.15.7, “File I/O Summary Tables”
Section 13.2.4, “HANDLER Syntax”
Section 15.7.4, “InnoDB File-Per-Table Tablespaces”
Section 15.19.8, “InnoDB memcached Plugin Internals”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 22.3.4, “Maintenance of Partitions”
Section 22.3.1, “Management of RANGE and LIST Partitions”
Section 25.11.15.10, “Memory Summary Tables”
Section 16.7.2, “MERGE Table Problems”
MySQL Glossary
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 25.11.15.6, “Object Wait Summary Table”
Section 8.5.7, “Optimizing InnoDB DDL Operations”
Section 25.11.8, “Performance Schema Connection Tables”
Section 25.4.1, “Performance Schema Event Timing”
Section 25.10, “Performance Schema General Table Characteristics”
Section 25.11.13.1, “Performance Schema persisted_variables Table”
Section 25.11.14, “Performance Schema Status Variable Tables”
Section 25.11.15, “Performance Schema Summary Tables”
Section 25.11.13, “Performance Schema System Variable Tables”
Section 25.11.10, “Performance Schema User Variable Tables”
Section 25.11.13.2, “Performance Schema variables_info Table”
Section 6.2.1, “Privileges Provided by MySQL”
Section 18.4.1.23, “Replication and MEMORY Tables”
Section 18.4.1.36, “Replication and TRUNCATE TABLE”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.5, “Server System Variables”
Section 25.11.15.9, “Socket Summary Tables”
Section 25.11.15.2, “Stage Summary Tables”
Section 25.11.15.4, “Statement Histogram Summary Tables”
Section 25.11.15.3, “Statement Summary Tables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 25.11.15.12, “Status Variable Summary Tables”
Section 25.11.8.1, “The accounts Table”
Section 25.11.3.1, “The cond_instances Table”
Section 25.11.12.2, “The data_lock_waits Table”
Section 25.11.12.1, “The data_locks Table”
Section 25.11.5.1, “The events_stages_current Table”
Section 25.11.5.2, “The events_stages_history Table”
Section 25.11.5.3, “The events_stages_history_long Table”
Section 25.11.6.1, “The events_statements_current Table”
Section 25.11.6.2, “The events_statements_history Table”
Section 25.11.6.3, “The events_statements_history_long Table”
Section 25.11.7.1, “The events_transactions_current Table”
Section 25.11.7.2, “The events_transactions_history Table”
Section 25.11.7.3, “The events_transactions_history_long Table”
Section 25.11.4.1, “The events_waits_current Table”
Section 25.11.4.2, “The events_waits_history Table”
Section 25.11.4.3, “The events_waits_history_long Table”
Section 25.11.3.2, “The file_instances Table”
Section 25.11.16.1, “The host_cache Table”
Section 25.11.8.2, “The hosts Table”
Section 24.31.22, “The INFORMATION_SCHEMA INNODB_SYS_INDEXES Table”
Section 24.31.23, “The INFORMATION_SCHEMA INNODB_SYS_TABLES Table”
Section 15.19.7, “The InnoDB memcached Plugin and Replication”
Section 16.3, “The MEMORY Storage Engine”
Section 25.11.12.3, “The metadata_locks Table”
Section 25.11.3.3, “The mutex_instances Table”
Section 25.11.16.2, “The performance_timers Table”
Section 25.11.6.4, “The prepared_statements_instances Table”
Section 26.4.4.24, “The ps_truncate_all_tables() Procedure”
Section 25.11.11.3, “The replication_applier_configuration Table”
Section 25.11.11.4, “The replication_applier_status Table”
Section 25.11.11.1, “The replication_connection_configuration Table”
Section 25.11.11.10, “The replication_group_member_stats Table”
Section 25.11.11.9, “The replication_group_members Table”
Section 25.11.3.4, “The rwlock_instances Table”
Section 25.11.9.1, “The session_account_connect_attrs Table”
Section 25.11.9.2, “The session_connect_attrs Table”
Section 25.11.2.1, “The setup_actors Table”
Section 25.11.2.2, “The setup_consumers Table”
Section 25.11.2.3, “The setup_instruments Table”
Section 25.11.2.4, “The setup_objects Table”
Section 25.11.2.5, “The setup_timers Table”
Section 25.11.3.5, “The socket_instances Table”
Section 25.11.12.4, “The table_handles Table”
Section 25.11.15.8.2, “The table_io_waits_summary_by_index_usage Table”
Section 25.11.15.8.1, “The table_io_waits_summary_by_table Table”
Section 25.11.15.8.3, “The table_lock_waits_summary_by_table Table”
Section 25.11.16.3, “The threads Table”
Section 25.11.16.4, “The user_defined_functions Table”
Section 25.11.8.3, “The users Table”
Section 25.11.15.5, “Transaction Summary Tables”
Section 13.1.31, “TRUNCATE TABLE Syntax”
Section 25.11.15.1, “Wait Event Summary Tables”
Section 27.7.24.2, “What Results You Can Get from a Query”

TRUNCATE TABLE host_cache

Section 25.11.16.1, “The host_cache Table”

U

[index top]

UNINSTALL COMPONENT

Section 5.5.1, “Error Log Components”
Section 5.5, “MySQL Server Components”
Section 6.2.2, “Static Versus Dynamic Privileges”
Section 5.4.2, “The Error Log”
Section 13.7.3.5, “UNINSTALL COMPONENT Syntax”

UNINSTALL PLUGIN

Section 13.7.6.3, “FLUSH Syntax”
Section 8.12.3.1, “How MySQL Uses Memory”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.7.3.4, “INSTALL PLUGIN Syntax”
Section 5.6.1, “Installing and Uninstalling Plugins”
Section 6.5.4.4.1, “Installing or Uninstalling General-Purpose Keyring Functions”
Section 5.6.4.2, “Installing or Uninstalling Version Tokens”
Section 6.5.1.4, “No-Login Pluggable Authentication”
Section 25.17, “Performance Schema and Plugins”
Section 16.11.1, “Pluggable Storage Engine Architecture”
Section 28.2.3, “Plugin API Components”
Section 28.2.4.2.1, “Server Plugin Library and Plugin Descriptors”
Section 13.7.5.25, “SHOW PLUGINS Syntax”
Section 6.5.1.5, “Socket Peer-Credential Pluggable Authentication”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 6.5.1.6, “Test Pluggable Authentication”
Section 24.14, “The INFORMATION_SCHEMA PLUGINS Table”
Section 13.7.3.6, “UNINSTALL PLUGIN Syntax”
Section 28.2.4.8, “Writing Audit Plugins”
Section 28.2.4.5, “Writing Daemon Plugins”
Section 28.2.4.4, “Writing Full-Text Parser Plugins”
Section 28.2.4.6, “Writing INFORMATION_SCHEMA Plugins”
Section 28.2.4.10, “Writing Password-Validation Plugins”
Section 28.2.4.9.1, “Writing the Server-Side Authentication Plugin”

UNION

Section 27.7.5, “C API Data Structures”
Section 12.5.3, “Character Set and Collation of Function Results”
Section 13.1.16, “CREATE TABLE Syntax”
Section 13.1.19, “CREATE VIEW Syntax”
Section 8.8.2, “EXPLAIN Output Format”
Section 12.14, “Information Functions”
Section 13.2.6.2, “INSERT ... ON DUPLICATE KEY UPDATE Syntax”
Section 8.4.4, “Internal Temporary Table Use in MySQL”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 11.2.5, “Numeric Type Attributes”
Section 8.2.2.3, “Optimizing Derived Tables, View References, and Common Table Expressions”
Section 8.2.2.1, “Optimizing Subqueries, Derived Tables, View References, and Common Table Expressions with Semi-Join Transformations”
Section 8.2.1.2, “Range Optimization”
Section 3.6.7, “Searching on Two Keys”
Section 13.2.10, “SELECT Syntax”
Section 5.1.7, “Server Status Variables”
Section 13.2.11, “Subquery Syntax”
Section 16.7, “The MERGE Storage Engine”
Section 13.2.10.3, “UNION Syntax”
Section 23.5.3, “Updatable and Insertable Views”
Section 23.5.1, “View Syntax”
Section 13.2.11.9, “WITH Syntax (Common Table Expressions)”
Section 12.11, “XML Functions”

UNION ALL

Section 12.14, “Information Functions”
Section 8.4.4, “Internal Temporary Table Use in MySQL”
Section 8.2.2.3, “Optimizing Derived Tables, View References, and Common Table Expressions”
Section 13.2.10.3, “UNION Syntax”
Section 23.5.3, “Updatable and Insertable Views”

UNION DISTINCT

Section 13.2.10.3, “UNION Syntax”
Section 13.2.11.9, “WITH Syntax (Common Table Expressions)”

UNLOCK TABLES

Section 8.6.2, “Bulk Data Loading for MyISAM Tables”
Section 7.2, “Database Backup Methods”
Section 13.7.6.3, “FLUSH Syntax”
Section 15.5.5.3, “How to Minimize and Handle Deadlocks”
Section 13.3.5.1, “Interaction of Table Locking and Transactions”
Section 15.8.1.7, “Limits on InnoDB Tables”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section C.1, “Restrictions on Stored Programs”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 15.7.6.1, “Transportable Tablespace Examples”
Section 15.7.6.2, “Transportable Tablespace Internals”

UPDATE

Section 6.2.7, “Access Control, Stage 2: Request Verification”
Section 6.3.2, “Adding User Accounts”
Section 18.2.1.1, “Advantages and Disadvantages of Statement-Based and Row-Based Replication”
Section 12.3.4, “Assignment Operators”
Section 15.8.1.5, “AUTO_INCREMENT Handling in InnoDB”
Section 15.1.2, “Best Practices for InnoDB Tables”
Section 18.1.6.4, “Binary Logging Options and Variables”
Section 8.5.5, “Bulk Data Loading for InnoDB Tables”
Section 8.6.2, “Bulk Data Loading for MyISAM Tables”
Section 27.7.6, “C API Function Overview”
Section 27.7.19, “C API Multiple Statement Execution Support”
Section 27.7.10, “C API Prepared Statement Function Overview”
Section 8.10.3, “Caching of Prepared Statements and Stored Programs”
Section 15.4.2, “Change Buffer”
Section 13.7.2.2, “CHECK TABLE Syntax”
Section 10.1.7, “Column Character Set Conversion”
Section 15.9.1.6, “Compression for OLTP Workloads”
Section 15.6.4, “Configuring InnoDB Change Buffering”
Section 15.6.12, “Configuring the Merge Threshold for Index Pages”
Section 15.5.2.3, “Consistent Nonlocking Reads”
Section 1.8.3.3, “Constraints on Invalid Data”
Section 15.8.1.4, “Converting Tables from MyISAM to InnoDB”
Section 13.1.16.8, “CREATE TABLE and Generated Columns”
Section 13.1.16.3, “CREATE TEMPORARY TABLE Syntax”
Section 13.1.18, “CREATE TRIGGER Syntax”
Section 13.1.19, “CREATE VIEW Syntax”
Section 16.8.2.1, “Creating a FEDERATED Table Using CONNECTION”
Section 11.7, “Data Type Default Values”
Section 11.1.2, “Date and Time Type Overview”
Section 15.5.5, “Deadlocks in InnoDB”
Section 8.8.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 8.8.3, “Extended EXPLAIN Output Format”
Section 16.8.3, “FEDERATED Storage Engine Notes and Tips”
Section 15.20.2, “Forcing InnoDB Recovery”
Section 12.9.5, “Full-Text Restrictions”
Section 12.1, “Function and Operator Reference”
Section 8.2.1.17, “Function Call Optimization”
Chapter 12, Functions and Operators
Section 8.14.2, “General Thread States”
Section 13.7.1.6, “GRANT Syntax”
Section 6.2.3, “Grant Tables”
Section 12.14, “Information Functions”
Chapter 24, INFORMATION_SCHEMA Tables
Section 15.5.1, “InnoDB Locking”
Section 15.13, “InnoDB Startup Options and System Variables”
Section 13.2.6.2, “INSERT ... ON DUPLICATE KEY UPDATE Syntax”
Section 13.2.6, “INSERT Syntax”
Section 8.11.1, “Internal Locking Methods”
Section 8.4.4, “Internal Temporary Table Use in MySQL”
Section 13.2.10.2, “JOIN Syntax”
Section 12.16.6, “JSON Utility Functions”
Section 13.7.6.4, “KILL Syntax”
Section B.5.7, “Known Issues in MySQL”
Section 13.2.7, “LOAD DATA INFILE Syntax”
Section 15.5.2.4, “Locking Reads”
Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”
Section 5.4.4.4, “Logging Format for Changes to mysql Database Tables”
Section 12.21, “Miscellaneous Functions”
Section A.4, “MySQL 8.0 FAQ: Stored Procedures and Functions”
Section 1.8.1, “MySQL Extensions to Standard SQL”
MySQL Glossary
Section 4.5.1.1, “mysql Options”
Section 27.7.7.1, “mysql_affected_rows()”
Section 27.7.7.36, “mysql_info()”
Section 27.7.7.38, “mysql_insert_id()”
Section 27.7.7.49, “mysql_num_rows()”
Section 27.7.7.50, “mysql_options()”
Section 27.7.11.10, “mysql_stmt_execute()”
Section 27.7.11.16, “mysql_stmt_insert_id()”
Section 27.7.11.18, “mysql_stmt_num_rows()”
Section 4.6.8.2, “mysqlbinlog Row Event Display”
Section 8.8.4, “Obtaining Execution Plan Information for a Named Connection”
Section 15.12.1, “Online DDL Overview”
Section 12.3, “Operators”
Section 8.9.2, “Optimizer Hints”
Section 8.2.5, “Optimizing Data Change Statements”
Section 8.8.1, “Optimizing Queries with EXPLAIN”
Section 8.2.2, “Optimizing Subqueries, Derived Tables, View References, and Common Table Expressions”
Section 11.2.6, “Out-of-Range and Overflow Handling”
Section 22.1, “Overview of Partitioning in MySQL”
Section 22.4, “Partition Pruning”
Section 22.5, “Partition Selection”
Section 6.1.2.3, “Passwords and Logging”
Section 25.4.6, “Pre-Filtering by Thread”
Section 1.8.3.1, “PRIMARY KEY and UNIQUE Index Constraints”
Section 6.2.1, “Privileges Provided by MySQL”
Section B.5.4.2, “Problems Using DATE Columns”
Section 18.4.1.17, “Replication and LIMIT”
Section 18.4.1.26, “Replication and the Query Optimizer”
Section 18.4.1.35, “Replication and Triggers”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 22.6, “Restrictions and Limitations on Partitioning”
Section 13.2.11.12, “Rewriting Subqueries as Joins”
Section 13.1.16.9, “Secondary Indexes and Generated Columns”
Section 3.3.4.1, “Selecting All Data”
Section 5.4.1, “Selecting General Query and Slow Query Log Output Destinations”
Section 5.1.4, “Server Command Options”
Section 5.1.8, “Server SQL Modes”
Section 5.1.7, “Server Status Variables”
Section 5.1.5, “Server System Variables”
Section 13.7.1.10, “SET PASSWORD Syntax”
Section 13.7.5.40, “SHOW WARNINGS Syntax”
Section 18.4.1.28, “Slave Errors During Replication”
Section 13.2.11.10, “Subquery Errors”
Section 13.2.11, “Subquery Syntax”
Section 8.11.2, “Table Locking Issues”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 16.5, “The ARCHIVE Storage Engine”
Section 10.1.8.5, “The binary Collation Compared to _bin Collations”
Section 5.4.4, “The Binary Log”
Section 16.6, “The BLACKHOLE Storage Engine”
Section 24.31.25, “The INFORMATION_SCHEMA INNODB_SYS_TABLESTATS View”
Section 24.24, “The INFORMATION_SCHEMA TABLES Table”
Section 24.30, “The INFORMATION_SCHEMA VIEWS Table”
Section 11.6, “The JSON Data Type”
Section 1.3.2, “The Main Features of MySQL”
Section 16.7, “The MERGE Storage Engine”
Section 16.2, “The MyISAM Storage Engine”
Section 6.2, “The MySQL Access Privilege System”
Section 5.1.12, “The Server Shutdown Process”
Section 26.4.2.3, “The sys_config_update_set_user Trigger”
Section 15.5.2.1, “Transaction Isolation Levels”
Section 23.3.1, “Trigger Syntax and Examples”
Section 6.2.9, “Troubleshooting Problems Connecting to MySQL”
Section 23.5.3, “Updatable and Insertable Views”
Section 1.8.2.2, “UPDATE Differences”
Section 13.2.12, “UPDATE Syntax”
Section 18.2.1.2, “Usage of Row-Based Logging and Replication”
Section 13.1.16.6, “Using FOREIGN KEY Constraints”
Section 4.5.1.6.4, “Using the --safe-updates Option”
Section 1.4, “What Is New in MySQL 8.0”
Section 27.7.24.2, “What Results You Can Get from a Query”
Section 6.2.8, “When Privilege Changes Take Effect”
Section 8.2.1.1, “WHERE Clause Optimization”
Section 27.7.24.1, “Why mysql_store_result() Sometimes Returns NULL After mysql_query() Returns Success”
Section 13.2.11.9, “WITH Syntax (Common Table Expressions)”

UPDATE ... ()

Section 15.5.2.3, “Consistent Nonlocking Reads”

UPDATE ... WHERE

Section 15.5.5, “Deadlocks in InnoDB”

UPDATE ... WHERE ...

Section 15.5.3, “Locks Set by Different SQL Statements in InnoDB”

UPDATE IGNORE

Section 5.1.8, “Server SQL Modes”
Section 13.2.12, “UPDATE Syntax”

USE

Section 18.1.6.4, “Binary Logging Options and Variables”
Section 7.4.5.2, “Copy a Database from one Server to Another”
Section 13.1.14, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 3.3.1, “Creating and Selecting a Database”
Section 3.3, “Creating and Using a Database”
Section 7.4.1, “Dumping Data in SQL Format with mysqldump”
Section 18.2.5.1, “Evaluation of Database-Level Replication and Binary Logging Options”
Section 8.9.4, “Index Hints”
Chapter 24, INFORMATION_SCHEMA Tables
Section 4.5.1.1, “mysql Options”
Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 4.5.6, “mysqlpump — A Database Backup Program”
Section 7.4.2, “Reloading SQL-Format Backups”
Section 18.2.5.3, “Replication Rule Application”
Section 18.1.6.3, “Replication Slave Options and Variables”
Section 23.2.1, “Stored Routine Syntax”
Section 13.8.4, “USE Syntax”

USE db2

Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”

USE db_name

Section 4.5.1.1, “mysql Options”

USE test

Section 4.6.8, “mysqlbinlog — Utility for Processing Binary Log Files”

W

[index top]

WHERE

Section 15.1.1, “Benefits of Using InnoDB Tables”

WHILE

Section 13.6.5, “Flow Control Statements”
Section 13.6.5.3, “ITERATE Syntax”
Section 13.6.5.4, “LEAVE Syntax”
Section 13.6.2, “Statement Label Syntax”
Section 13.6.5.8, “WHILE Syntax”

WITH

Section 13.2.2, “DELETE Syntax”
Section 8.2.2.3, “Optimizing Derived Tables, View References, and Common Table Expressions”
Section 13.2.10, “SELECT Syntax”
Section B.5.6.2, “TEMPORARY Table Problems”
Section 13.2.12, “UPDATE Syntax”
Section 1.4, “What Is New in MySQL 8.0”
Section 13.2.11.9, “WITH Syntax (Common Table Expressions)”

X

[index top]

XA BEGIN

Section 25.11.7, “Performance Schema Transaction Tables”

XA COMMIT

Section 2.10.2, “Downgrading MySQL”
Section 25.11.7, “Performance Schema Transaction Tables”
Section 5.1.5, “Server System Variables”
Section 25.11.7.1, “The events_transactions_current Table”
Section 2.10.1, “Upgrading MySQL”
Section 13.3.7.2, “XA Transaction States”

XA END

Section C.6, “Restrictions on XA Transactions”
Section 25.11.7.1, “The events_transactions_current Table”
Section 13.3.7.1, “XA Transaction SQL Syntax”
Section 13.3.7.2, “XA Transaction States”

XA PREPARE

Section 25.11.7.1, “The events_transactions_current Table”
Section 13.3.7.2, “XA Transaction States”

XA RECOVER

Section 2.10.2, “Downgrading MySQL”
Section 6.2.1, “Privileges Provided by MySQL”
Section 2.10.1, “Upgrading MySQL”
Section 13.3.7.1, “XA Transaction SQL Syntax”
Section 13.3.7.2, “XA Transaction States”

XA ROLLBACK

Section 2.10.2, “Downgrading MySQL”
Section 25.11.7, “Performance Schema Transaction Tables”
Section 5.1.5, “Server System Variables”
Section 25.11.7.1, “The events_transactions_current Table”
Section 2.10.1, “Upgrading MySQL”
Section 13.3.7.2, “XA Transaction States”

XA START

Section 25.11.7, “Performance Schema Transaction Tables”
Section C.6, “Restrictions on XA Transactions”
Section 25.11.7.1, “The events_transactions_current Table”
Section 13.3.7.1, “XA Transaction SQL Syntax”
Section 13.3.7.2, “XA Transaction States”

XA START xid

Section 13.3.7.1, “XA Transaction SQL Syntax”