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]

ALTER DATABASE

Section 13.1.1, “ALTER DATABASE Syntax”
Section 16.1.2.4, “Binary Log Options and Variables”
Section 10.1.3.2, “Database Character Set and Collation”
Section 4.6.7, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 16.2.3.1, “Evaluation of Database-Level Replication and Binary Logging Options”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 16.1.2.3, “Replication Slave Options and Variables”

ALTER FUNCTION

Section 13.1.2, “ALTER FUNCTION Syntax”
Section 18.6, “Binary Logging of Stored Programs”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.2.1, “Stored Routine Syntax”

ALTER PROCEDURE

Section 13.1.3, “ALTER PROCEDURE Syntax”
Section 18.6, “Binary Logging of Stored Programs”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.2.1, “Stored Routine Syntax”

ALTER SCHEMA

Section 13.1.1, “ALTER DATABASE Syntax”

ALTER TABLE

Section 4.6.3.1, “myisamchk General Options”
Section 13.1.4.1, “ALTER TABLE Examples”
Section 13.1.4, “ALTER TABLE Syntax”
Section 14.2.3.3, “AUTO_INCREMENT Handling in InnoDB
Section 13.7.2.3, “CHECK TABLE Syntax”
Section 13.1.8, “CREATE INDEX Syntax”
Section 13.1.10, “CREATE TABLE Syntax”
Section 13.1.15, “DROP INDEX Syntax”
Section 8.2.2, “EXPLAIN Output Format”
Section 1.8.3.2, “FOREIGN KEY Constraints”
Section 13.7.1.3, “GRANT Syntax”
Section 14.2.3.4, “InnoDB and FOREIGN KEY Constraints”
Section 14.2.3.5, “InnoDB and MySQL Replication”
Section 13.2.5.2, “INSERT DELAYED Syntax”
Section 13.7.6.3, “KILL Syntax”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 14.3.2, “MERGE Table Problems”
Section 8.5.4, “MyISAM Index Statistics Collection”
Section 14.1.1, “MyISAM Startup Options”
Section 14.1.3, “MyISAM Table Storage Formats”
Section 20.6.7.35, “mysql_info()
Section 13.7.2.5, “OPTIMIZE TABLE Syntax”
Section 13.1.20, “RENAME TABLE Syntax”
Section 13.7.5.12, “SHOW ENGINE Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”
Section B.5.7.2, “TEMPORARY Table Problems”
Section 11.3.4, “YEAR(2) Limitations and Migrating to YEAR(4)
Section 10.1.3.4, “Column Character Set and Collation”
Section 10.1.12, “Column Character Set Conversion”
Section 14.2.7.2, “Consistent Nonlocking Reads”
Section 14.2.3.2, “Converting Tables from Other Storage Engines to InnoDB
Section 3.3.2, “Creating a Table”
Section 11.5.3.2, “Creating Spatial Columns”
Section 11.5.3.6, “Creating Spatial Indexes”
Section 17.3.2.5, “Defining MySQL Cluster Data Nodes”
Section 14.2.10.3, “Defragmenting a Table”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 12.9.6, “Fine-Tuning MySQL Full-Text Search”
Section 14.2.5.2, “Forcing InnoDB Recovery”
Section 12.9, “Full-Text Search Functions”
Section 8.10.2, “General Thread States”
Section B.5.4.3, “How MySQL Handles a Full Disk”
Section 8.6.3.1, “How the Query Cache Operates”
Section 7.6.3, “How to Repair MyISAM Tables”
Section 17.2.2, “Initial Configuration of MySQL Cluster”
Section 17.1.5.8, “Issues Exclusive to MySQL Cluster”
Section B.5.8, “Known Issues in MySQL”
Section 14.7.3, “Limitations of the FEDERATED Storage Engine”
Section 17.1.5.9, “Limitations Relating to Multiple MySQL Cluster Nodes”
Section 17.1.5.2, “Limits and Differences of MySQL Cluster from Standard MySQL Limits”
Section 14.2.13, “Limits on InnoDB Tables”
Section D.7.3, “Limits on Table Size”
Section 17.1.5.3, “Limits Relating to Transaction Handling in MySQL Cluster”
Section 17.3.2.1, “MySQL Cluster Configuration: Basic Example”
Section 17.2.4, “MySQL Cluster Example with Tables and Data”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 11.2.6, “Out-of-Range and Overflow Handling”
Section 6.2.1, “Privileges Provided by MySQL”
Section B.5.7.1, “Problems with ALTER TABLE
Section 2.19.4, “Rebuilding or Repairing Tables or Indexes”
Section 16.4.1.1, “Replication and AUTO_INCREMENT
Section 16.4.1.19, “Replication and Reserved Words”
Section D.4, “Restrictions on Views”
Section 5.1.3, “Server Command Options”
Section 5.1.7, “Server SQL Modes”
Section 5.1.4, “Server System Variables”
Section 13.1.10.3, “Silent Column Specification Changes”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Chapter 14, Storage Engines
Section 11.1.3, “String Type Overview”
Section 10.1.3.3, “Table Character Set and Collation”
Section 14.4, “The MEMORY (HEAP) Storage Engine”
Section 14.1, “The MyISAM Storage Engine”
Section 5.2.4, “The Slow Query Log”
Section 14.2.12.4, “Troubleshooting InnoDB Data Dictionary Operations”
Section 17.1.5.6, “Unsupported or Missing Features in MySQL Cluster”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section 3.6.9, “Using AUTO_INCREMENT
Section 13.1.10.2, “Using FOREIGN KEY Constraints”
Section 14.2.1.1, “Using Per-Table Tablespaces”
Section 16.3.2, “Using Replication with Different Master and Slave Storage Engines”
Section 8.9.6.2, “Using Symbolic Links for MyISAM Tables on Unix”
Section 1.4, “What Is New in MySQL 5.0”
Section B.5.4.2, “What to Do If MySQL Keeps Crashing”
Section B.5.4.4, “Where MySQL Stores Temporary Files”
Section D.7.6, “Windows Platform Limitations”

ALTER TABLE ... ENGINE = MEMORY

Section 16.4.1.14, “Replication and MEMORY Tables”

ALTER TABLE ... RENAME

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

ALTER VIEW

Section 13.1.5, “ALTER VIEW Syntax”
Section 13.1.12, “CREATE VIEW Syntax”
Section D.1, “Restrictions on Stored Programs”
Section D.4, “Restrictions on Views”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.4.2, “View Processing Algorithms”
Section 18.4.1, “View Syntax”

ANALYZE TABLE

Section 4.6.3.1, “myisamchk General Options”
Section 13.1.4, “ALTER TABLE Syntax”
Section 13.7.2.1, “ANALYZE TABLE Syntax”
Section 8.2.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 14.2.2, “InnoDB Startup Options and System Variables”
Section 14.3.2, “MERGE Table Problems”
Section 8.5.4, “MyISAM Index Statistics Collection”
Section 7.6, “MyISAM Table Maintenance and Crash Recovery”
Section 13.7.2.5, “OPTIMIZE TABLE Syntax”
Section 13.7.5.18, “SHOW INDEX Syntax”
Section 14.5.4, “Characteristics of BDB Tables”
Section 4.5.3, “mysqlcheck — A Table Maintenance Program”
Section 12.9.6, “Fine-Tuning MySQL Full-Text Search”
Section 8.10.2, “General Thread States”
Section B.5.8, “Known Issues in MySQL”
Section 14.2.13, “Limits on InnoDB Tables”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 8.2.1, “Optimizing Queries with EXPLAIN
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.4.1.7, “Replication and FLUSH
Section 5.1.3, “Server Command Options”
Section 5.1.4, “Server System Variables”
Section 8.3.1.1, “Speed of SELECT Statements”
Section 5.2.4, “The Slow Query Log”

B

[index top]

BACKUP TABLE

Section 13.7.2.2, “BACKUP TABLE Syntax”
Section 13.7.2.7, “RESTORE TABLE Syntax”
Section 8.9.6.2, “Using Symbolic Links for MyISAM Tables on Unix”

BEGIN

Section 13.6.1, “BEGIN ... END Compound-Statement Syntax”
Section 14.2.11, “InnoDB Error Handling”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 18.6, “Binary Logging of Stored Programs”
Section 14.5.4, “Characteristics of BDB Tables”
Section 16.4.1.25, “Replication and Transactions”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section D.1, “Restrictions on Stored Programs”
Section 5.1.4, “Server System Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 14.2.7, “The InnoDB Transaction Model and Locking”

BEGIN ... END

Section 13.6.1, “BEGIN ... END Compound-Statement Syntax”
Section 13.6.5.1, “CASE Syntax”
Section 13.1.11, “CREATE TRIGGER Syntax”
Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.6.3, “DECLARE Syntax”
Section 13.6.5.4, “LEAVE Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 13.6.6.1, “Cursor CLOSE Syntax”
Section 18.1, “Defining Stored Programs”
Section 13.6.4.1, “Local Variable DECLARE Syntax”
Section 13.6.4.2, “Local Variable Scope and Resolution”
Section 13.6, “MySQL Compound-Statement Syntax”
Section D.1, “Restrictions on Stored Programs”
Section 13.6.2, “Statement Label Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.3.1, “Trigger Syntax and Examples”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”

BEGIN WORK

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

C

[index top]

CACHE INDEX

Section 13.7.6.1, “CACHE INDEX Syntax”
Section 13.7.6.4, “LOAD INDEX INTO CACHE Syntax”
Section 8.6.1.4, “Index Preloading”
Section 8.6.1.2, “Multiple Key Caches”

CALL

Section 13.2.1, “CALL Syntax”
Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 20.6.7.1, “mysql_affected_rows()
Section 20.6.7.37, “mysql_insert_id()
Section 20.6.7.45, “mysql_more_results()
Section 20.6.7.46, “mysql_next_result()
Section 20.6.7.52, “mysql_real_connect()
Section 20.6.7.64, “mysql_set_server_option()
Section 18.5, “Access Control for Stored Programs and Views”
Section 18.6, “Binary Logging of Stored Programs”
Section 20.6.17, “C API Prepared Statement Problems”
Section 20.6.16, “C API Support for Multiple Statement Execution”
Section 20.6.19, “C API Support for Prepared CALL Statements”
Section D.1, “Restrictions on Stored Programs”
Section 13.5, “SQL Syntax for Prepared Statements”
Chapter 18, Stored Programs and Views
Section 18.2.1, “Stored Routine Syntax”
Section 18.3.1, “Trigger Syntax and Examples”

CASE

Section 13.6.5.1, “CASE Syntax”
Section 12.4, “Control Flow Functions”
Section 13.6.5, “Flow Control Statements”

CHANGE MASTER TO

Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 13.7.1.3, “GRANT Syntax”
Section 13.7.1.6, “SET PASSWORD Syntax”
Section 13.7.5.31, “SHOW SLAVE STATUS Syntax”
Section 16.3.1.2, “Backing Up Raw Data from a Slave”
Section 16.1.1.5, “Creating a Data Snapshot Using mysqldump
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.4.1.13, “Replication and Master or Slave Shutdowns”
Section 16.1, “Replication Configuration”
Section 8.10.8, “Replication Slave Connection Thread States”
Section 8.10.6, “Replication Slave I/O Thread States”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 16.1.1.10, “Setting the Master Configuration on the Slave”
Section 16.3.7, “Setting Up Replication Using SSL”
Section 16.1.1.8, “Setting Up Replication with Existing Data”
Section 16.1.1.7, “Setting Up Replication with New Master and Slaves”
Section 16.2.2.2, “Slave Status Logs”
Section 16.3.6, “Switching Masters During Failover”

CHECK TABLE

Section 13.7.2.3, “CHECK TABLE Syntax”
Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.1.12, “CREATE VIEW Syntax”
Section 14.2.12.3, “InnoDB General Troubleshooting”
Section 7.6, “MyISAM Table Maintenance and Crash Recovery”
Section B.5.2.9, “MySQL server has gone away
Section 20.6.7.69, “mysql_store_result()
Section 20.6.7.71, “mysql_use_result()
Section 14.2.5, “Backing Up and Recovering an InnoDB Database”
Section 2.19.3, “Checking Whether Tables or Indexes Must Be Rebuilt”
Section 14.1.4.1, “Corrupted MyISAM Tables”
Section 4.6.1, “innochecksum — Offline InnoDB File Checksum Utility”
Section 4.6.3, “myisamchk — MyISAM Table-Maintenance Utility”
Section 4.5.3, “mysqlcheck — A Table Maintenance Program”
Section 4.4.9, “mysql_upgrade — Check Tables for MySQL Upgrade”
Section 8.7.4, “External Locking”
Section 7.6.3, “How to Repair MyISAM Tables”
Section 1.7, “How to Report Bugs or Problems”
Section 2.15, “Installing MySQL on NetWare”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 14.1.4.2, “Problems from Tables Not Being Closed Properly”
Section 2.19.4, “Rebuilding or Repairing Tables or Indexes”
Section D.2, “Restrictions on Server-Side Cursors”
Section D.1, “Restrictions on Stored Programs”
Section D.4, “Restrictions on Views”
Section 5.1.3, “Server Command Options”
Section 7.6.5, “Setting Up a MyISAM Table Maintenance Schedule”
Section 14.8, “The ARCHIVE Storage Engine”
Section 14.3, “The MERGE Storage Engine”
Section 5.2.4, “The Slow Query Log”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”

CHECK TABLE ... EXTENDED

Section 13.7.2.3, “CHECK TABLE Syntax”

CHECK TABLE ... FOR UPGRADE

Section 13.7.2.6, “REPAIR TABLE Syntax”
Section 2.19.3, “Checking Whether Tables or Indexes Must Be Rebuilt”

CHECKSUM TABLE

Section 13.7.2.4, “CHECKSUM TABLE Syntax”
Section 13.1.10, “CREATE TABLE Syntax”

CLOSE

Section 13.6.6.1, “Cursor CLOSE Syntax”

COMMIT

Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 14.2.11, “InnoDB Error Handling”
Section 14.2.12.1, “InnoDB Performance Tuning Tips”
Section 13.3.4, “SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT, and Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 18.6, “Binary Logging of Stored Programs”
Section 14.5.4, “Characteristics of BDB Tables”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 14.2.3.1, “How to Use Transactions in InnoDB with Different APIs”
Section 14.2.7.7, “Implicit Transaction Commit and Rollback”
Section B.5.8, “Known Issues in MySQL”
Section 14.2.13, “Limits on InnoDB Tables”
Section 13.3, “MySQL Transactional and Locking Statements”
Section 16.1.1.4, “Obtaining the Replication Master Binary Log Coordinates”
Section 16.4.1.25, “Replication and Transactions”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 5.1.6, “Server Status Variables”
Section 5.1.4, “Server System Variables”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Chapter 14, Storage Engines
Section 14.5, “The BDB (BerkeleyDB) Storage Engine”
Section 14.2.7, “The InnoDB Transaction Model and Locking”
Section 5.2.3, “The Binary Log”
Section 1.8.2.3, “Transactions and Atomic Operations”
Section 18.3.1, “Trigger Syntax and Examples”

CREATE DATABASE

Section 13.1.6, “CREATE DATABASE Syntax”
Section 20.6.7.8, “mysql_create_db()
Section 13.7.5.6, “SHOW CREATE DATABASE Syntax”
Section 10.1.9.3, “SHOW Statements and INFORMATION_SCHEMA
Section 7.1, “Backup and Recovery Types”
Section 16.1.2.4, “Binary Log Options and Variables”
Section 20.6.6, “C API Function Overview”
Section 10.1.5, “Configuring the Character Set and Collation for Applications”
Section 7.4.5.2, “Copy a Database from one Server to Another”
Section 10.1.3.2, “Database Character Set and Collation”
Section 4.6.7, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 7.4.1, “Dumping Data in SQL Format with mysqldump
Section 16.2.3.1, “Evaluation of Database-Level Replication and Binary Logging Options”
Section 9.2.2, “Identifier Case Sensitivity”
Section 17.1.5.8, “Issues Exclusive to MySQL Cluster”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 7.4.2, “Reloading SQL-Format Backups”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 10.1.3.1, “Server Character Set and Collation”
Section 13.3.3, “Statements That Cause an Implicit Commit”

CREATE DATABASE dbx

Section 16.2.3, “How Servers Evaluate Replication Filtering Rules”

CREATE FUNCTION

Section 13.1.2, “ALTER FUNCTION Syntax”
Section 13.1.7, “CREATE FUNCTION Syntax”
Section 13.7.3.1, “CREATE FUNCTION Syntax for User-defined Functions”
Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.7.3.2, “DROP FUNCTION Syntax”
Section 21.2, “Adding New Functions to MySQL”
Section 18.6, “Binary Logging of Stored Programs”
Section 21.2.2.5, “Compiling and Installing User-Defined Functions”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 9.2.3, “Function Name Parsing and Resolution”
Section D.1, “Restrictions on Stored Programs”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.2.1, “Stored Routine Syntax”
Section 21.2.2.1, “UDF Calling Sequences for Simple Functions”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section 21.2.2.6, “User-Defined Function Security Precautions”

CREATE INDEX

Section 13.1.8, “CREATE INDEX Syntax”
Section 11.5.3.6, “Creating Spatial Indexes”
Section 12.9, “Full-Text Search Functions”
Section 17.1.5.8, “Issues Exclusive to MySQL Cluster”
Section 5.1.3, “Server Command Options”
Section 5.1.4, “Server System Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 5.2.4, “The Slow Query Log”
Section 17.1.5.6, “Unsupported or Missing Features in MySQL Cluster”

CREATE OR REPLACE VIEW

Section 13.1.5, “ALTER VIEW Syntax”
Section 13.1.12, “CREATE VIEW Syntax”
Section D.4, “Restrictions on Views”

CREATE PROCEDURE

Section 13.1.3, “ALTER PROCEDURE Syntax”
Section 13.2.1, “CALL Syntax”
Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 18.6, “Binary Logging of Stored Programs”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 6.2.2, “Privilege System Grant Tables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.2.1, “Stored Routine Syntax”

CREATE SCHEMA

Section 13.1.6, “CREATE DATABASE Syntax”
Section 17.1.5.8, “Issues Exclusive to MySQL Cluster”

CREATE TABLE

Section 4.5.1.1, “mysql Options”
Section 13.1.4, “ALTER TABLE Syntax”
Section 14.2.3.3, “AUTO_INCREMENT Handling in InnoDB
Section 13.1.8, “CREATE INDEX Syntax”
Section 13.1.10.1, “CREATE TABLE ... SELECT Syntax”
Section 13.1.10, “CREATE TABLE Syntax”
Section 1.8.3.2, “FOREIGN KEY Constraints”
Section 13.8.3, “HELP Syntax”
Section 14.2.3.4, “InnoDB and FOREIGN KEY Constraints”
Section 14.2.3.5, “InnoDB and MySQL Replication”
Section 14.2.12.3, “InnoDB General Troubleshooting”
Section 14.2.12.1, “InnoDB Performance Tuning Tips”
Section 14.1.3, “MyISAM Table Storage Formats”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.7.5.9, “SHOW CREATE TABLE Syntax”
Section 14.2.12.2, “SHOW ENGINE INNODB STATUS and the InnoDB Monitors”
Section 13.7.5.12, “SHOW ENGINE Syntax”
Section 13.7.5.33, “SHOW TABLE STATUS Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”
Section 10.1.9.3, “SHOW Statements and INFORMATION_SCHEMA
Section 7.1, “Backup and Recovery Types”
Section 10.1.3.4, “Column Character Set and Collation”
Section 8.5.1, “Column Indexes”
Section 3.3.2, “Creating a Table”
Section 14.2.3, “Creating and Using InnoDB Tables”
Section 11.5.3.2, “Creating Spatial Columns”
Section 11.5.3.6, “Creating Spatial Indexes”
Section 7.2, “Database Backup Methods”
Section 10.1.3.2, “Database Character Set and Collation”
Section 17.3.2.5, “Defining MySQL Cluster Data Nodes”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 7.4.3, “Dumping Data in Delimited-Text Format with mysqldump
Section 1.8.2.4, “Foreign Keys”
Section 12.9, “Full-Text Search Functions”
Section 3.4, “Getting Information About Databases and Tables”
Section 8.8.5, “How MySQL Uses Internal Temporary Tables”
Section 9.2.2, “Identifier Case Sensitivity”
Section 17.2.2, “Initial Configuration of MySQL Cluster”
Section 17.1.5.8, “Issues Exclusive to MySQL Cluster”
Section 17.1.5.9, “Limitations Relating to Multiple MySQL Cluster Nodes”
Section 14.2.13, “Limits on InnoDB Tables”
Section D.7.3, “Limits on Table Size”
Section 17.1.5.3, “Limits Relating to Transaction Handling in MySQL Cluster”
Section 3.3.3, “Loading Data into a Table”
Section 8.8.1, “Make Your Data as Small as Possible”
Section 17.3.2.1, “MySQL Cluster Configuration: Basic Example”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 6.2.1, “Privileges Provided by MySQL”
Section 2.19.4, “Rebuilding or Repairing Tables or Indexes”
Section 7.4.4, “Reloading Delimited-Text Format Backups”
Section 16.4.1.1, “Replication and AUTO_INCREMENT
Section 16.4.1.5, “Replication and DIRECTORY Table Options”
Section 16.4.1.2, “Replication and Character Sets”
Section 16.4.1.8, “Replication and System Functions”
Section 8.10.8, “Replication Slave Connection Thread States”
Section 5.1.3, “Server Command Options”
Section 5.1.7, “Server SQL Modes”
Section 5.1.4, “Server System Variables”
Section 13.1.10.3, “Silent Column Specification Changes”
Section B.1, “Sources of Error Information”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Chapter 14, Storage Engines
Section 11.1.3, “String Type Overview”
Section 10.1.3.3, “Table Character Set and Collation”
Section 11.4.4, “The ENUM Type”
Section 14.4, “The MEMORY (HEAP) Storage Engine”
Section 14.1, “The MyISAM Storage Engine”
Section 13.2.9.1, “The Subquery as Scalar Operand”
Section 14.2.12.4, “Troubleshooting InnoDB Data Dictionary Operations”
Section 17.1.5.6, “Unsupported or Missing Features in MySQL Cluster”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section 7.4, “Using mysqldump for Backups”
Section 3.6.9, “Using AUTO_INCREMENT
Section 13.1.10.2, “Using FOREIGN KEY Constraints”
Section 3.3.4.9, “Using More Than one Table”
Section 16.3.2, “Using Replication with Different Master and Slave Storage Engines”
Section 8.9.6.2, “Using Symbolic Links for MyISAM Tables on Unix”
Section D.7.6, “Windows Platform Limitations”

CREATE TABLE ... LIKE

Section 13.1.10, “CREATE TABLE Syntax”

CREATE TABLE ... SELECT

Section 13.1.10.1, “CREATE TABLE ... SELECT Syntax”
Section 1.8.2.1, “SELECT INTO TABLE
Section 18.6, “Binary Logging of Stored Programs”
Section 12.10, “Cast Functions and Operators”
Section 14.2.7.2, “Consistent Nonlocking Reads”
Section B.5.8, “Known Issues in MySQL”
Section 16.4.1.3, “Replication of CREATE TABLE ... SELECT Statements”

CREATE TABLE ... SELECT ...

Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB

CREATE TEMPORARY TABLE

Section 13.7.1.3, “GRANT Syntax”
Section 4.6.7, “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 13.3.3, “Statements That Cause an Implicit Commit”

CREATE TRIGGER

Section 13.1.11, “CREATE TRIGGER Syntax”
Section 18.6, “Binary Logging of Stored Programs”
Section 8.3.1.14, “Optimizing Subqueries with EXISTS Strategy”
Section 16.4.1.26, “Replication and Triggers”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.3.1, “Trigger Syntax and Examples”

CREATE USER

Section 13.7.1.1, “CREATE USER Syntax”
Section 13.7.6.2, “FLUSH Syntax”
Section 13.7.1.3, “GRANT Syntax”
Section 6.3.2, “Adding User Accounts”
Section 6.3.5, “Assigning Account Passwords”
Section 6.2.7, “Causes of Access-Denied Errors”
Section 16.1.1.3, “Creating a User for Replication”
Section 12.12, “Encryption and Compression Functions”
Section 6.1.2.1, “End-User Guidelines for Password Security”
Section 8.9.4, “How MySQL Uses Memory”
Section 17.5.10.2, “MySQL Cluster and MySQL Privileges”
Section 6.1.2.4, “Password Hashing in MySQL”
Section 6.1.2.3, “Passwords and Logging”
Section 6.2.2, “Privilege System Grant Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.4.1.17, “Replication and User Privileges”
Section 16.4.1.16, “Replication of the mysql System Database”
Section 5.1.4, “Server System Variables”
Section 6.2.3, “Specifying Account Names”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 6.2, “The MySQL Access Privilege System”
Section 6.3.1, “User Names and Passwords”

CREATE VIEW

Section 13.1.5, “ALTER VIEW Syntax”
Section 13.1.12, “CREATE VIEW Syntax”
Section 13.7.5.10, “SHOW CREATE VIEW Syntax”
Section 8.10.2, “General Thread States”
Section 6.2.1, “Privileges Provided by MySQL”
Section D.4, “Restrictions on Views”
Section 9.2, “Schema Object Names”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 19.17, “The INFORMATION_SCHEMA VIEWS Table”
Section 18.4.3, “Updatable and Insertable Views”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section 18.4.2, “View Processing Algorithms”
Section 18.4.1, “View Syntax”

D

[index top]

DEALLOCATE PREPARE

Section 13.5.3, “DEALLOCATE PREPARE Syntax”
Section 13.5.1, “PREPARE Syntax”
Section D.1, “Restrictions on Stored Programs”
Section 5.1.6, “Server Status Variables”
Section 13.5, “SQL Syntax for Prepared Statements”

DECLARE

Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.6.3, “DECLARE Syntax”
Section 13.6.6.2, “Cursor DECLARE Syntax”
Section 13.6.4.1, “Local Variable DECLARE Syntax”
Section 13.6.4, “Variables in Stored Programs”

DECLARE ... CONDITION

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

DECLARE ... HANDLER

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

DELETE

Section 4.5.1.1, “mysql Options”
Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.1.11, “CREATE TRIGGER Syntax”
Section 13.1.12, “CREATE VIEW Syntax”
Section 13.2.2, “DELETE Syntax”
Section 13.7.1.3, “GRANT Syntax”
Chapter 19, INFORMATION_SCHEMA Tables
Section 14.2.3.5, “InnoDB and MySQL Replication”
Section 14.2.2, “InnoDB Startup Options and System Variables”
Section 13.2.8.2, “JOIN Syntax”
Section 13.7.6.3, “KILL Syntax”
Section 14.3.2, “MERGE Table Problems”
Section 20.6.7.1, “mysql_affected_rows()
Section 20.6.7.48, “mysql_num_rows()
Section 20.6.11.10, “mysql_stmt_execute()
Section 20.6.11.13, “mysql_stmt_field_count()
Section 20.6.11.17, “mysql_stmt_num_rows()
Section 13.7.1.5, “REVOKE Syntax”
Section 13.3.6, “SET TRANSACTION Syntax”
Section 13.1.21, “TRUNCATE TABLE Syntax”
Section 6.3.2, “Adding User Accounts”
Section 16.1.2.4, “Binary Log Options and Variables”
Section 18.6, “Binary Logging of Stored Programs”
Section 20.6.6, “C API Function Overview”
Section 20.6.10, “C API Prepared Statement Function Overview”
Section 6.2.7, “Causes of Access-Denied Errors”
Section 14.5.4, “Characteristics of BDB Tables”
Section 17.3.2.11, “Configuring MySQL Cluster Parameters for Local Checkpoints”
Section B.5.5.6, “Deleting Rows from Related Tables”
Section 17.4.6, “ndb_delete_all — Delete All Rows from an NDB Table”
Section 14.2.5.2, “Forcing InnoDB Recovery”
Chapter 12, Functions and Operators
Section 8.10.2, “General Thread States”
Section 8.3.1.2, “How MySQL Optimizes WHERE Clauses”
Section 8.6.3.1, “How the Query Cache Operates”
Section 12.13, “Information Functions”
Section 8.7.1, “Internal Locking Methods”
Section B.5.8, “Known Issues in MySQL”
Section 14.7.3, “Limitations of the FEDERATED Storage Engine”
Section 17.1.5.2, “Limits and Differences of MySQL Cluster from Standard MySQL Limits”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB
Section 17.5.10.3, “MySQL Cluster and MySQL Security Procedures”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 17.5.5, “Performing a Rolling Restart of a MySQL Cluster”
Section 6.2.2, “Privilege System Grant Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.4.1.9, “Replication and LIMIT
Section 16.4.1.14, “Replication and MEMORY Tables”
Section 16.4.1.18, “Replication and the Query Optimizer”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 9.3, “Reserved Words”
Section D.4, “Restrictions on Views”
Section 13.2.9.11, “Rewriting Subqueries as Joins”
Section 3.3.4.1, “Selecting All Data”
Section 5.1.3, “Server Command Options”
Section 5.1.6, “Server Status Variables”
Section 5.1.4, “Server System Variables”
Section 8.3.2.3, “Speed of DELETE Statements”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 13.2.9.9, “Subquery Errors”
Section 13.2.9, “Subquery Syntax”
Section 8.7.2, “Table Locking Issues”
Section 14.8, “The ARCHIVE Storage Engine”
Section 14.10, “The BLACKHOLE Storage Engine”
Section 19.17, “The INFORMATION_SCHEMA VIEWS Table”
Section 14.4, “The MEMORY (HEAP) Storage Engine”
Section 14.3, “The MERGE Storage Engine”
Section 5.2.3, “The Binary Log”
Section 6.2, “The MySQL Access Privilege System”
Section 18.3.1, “Trigger Syntax and Examples”
Section 18.4.3, “Updatable and Insertable Views”
Section 13.1.10.2, “Using FOREIGN KEY Constraints”
Section 4.5.1.6.3, “Using the --safe-updates Option”
Section 20.6.14.2, “What Results You Can Get from a Query”
Section 6.2.6, “When Privilege Changes Take Effect”
Section 20.6.14.1, “Why mysql_store_result() Sometimes Returns NULL After mysql_query() Returns Success”

DELETE FROM ... WHERE ...

Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB

DELETE FROM a.t

Section 16.1.2.3, “Replication Slave Options and Variables”

DESCRIBE

Section 13.1.10, “CREATE TABLE Syntax”
Section 13.8.1, “DESCRIBE Syntax”
Section 13.8.2, “EXPLAIN Syntax”
Section 20.6.11.27, “mysql_stmt_store_result()
Section 20.6.7.69, “mysql_store_result()
Section 20.6.7.71, “mysql_use_result()
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 20.6.5, “C API Data Structures”
Section 20.6.6, “C API Function Overview”
Section 14.5.4, “Characteristics of BDB Tables”
Section 3.3.2, “Creating a Table”
Section 19.18, “Extensions to SHOW Statements”
Section 3.4, “Getting Information About Databases and Tables”
Section 8.8.5, “How MySQL Uses Internal Temporary Tables”
Section 8.3.1.15, “Optimizing LIMIT Queries”
Section 13.1.10.3, “Silent Column Specification Changes”
Section 3.6.6, “Using Foreign Keys”
Section 10.1.11, “UTF-8 for Metadata”

DO

Section 13.2.3, “DO Syntax”
Section 18.6, “Binary Logging of Stored Programs”
Section 12.14, “Miscellaneous Functions”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 13.2.9, “Subquery Syntax”

DROP DATABASE

Section 13.1.13, “DROP DATABASE Syntax”
Section 20.6.7.11, “mysql_drop_db()
Section 16.1.2.4, “Binary Log Options and Variables”
Section 18.6, “Binary Logging of Stored Programs”
Section 20.6.6, “C API Function Overview”
Section 4.6.7, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 7.4.1, “Dumping Data in SQL Format with mysqldump
Section 16.2.3.1, “Evaluation of Database-Level Replication and Binary Logging Options”
Section 8.6.3.1, “How the Query Cache Operates”
Section 17.1.5.8, “Issues Exclusive to MySQL Cluster”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 7.5, “Point-in-Time (Incremental) Recovery Using the Binary Log”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 5.1.4, “Server System Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section D.7.6, “Windows Platform Limitations”

DROP DATABASE IF EXISTS

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

DROP FUNCTION

Section 13.1.2, “ALTER FUNCTION Syntax”
Section 13.7.3.1, “CREATE FUNCTION Syntax for User-defined Functions”
Section 13.1.14, “DROP FUNCTION Syntax”
Section 13.7.3.2, “DROP FUNCTION Syntax”
Section 13.1.16, “DROP PROCEDURE and DROP FUNCTION Syntax”
Section 21.2, “Adding New Functions to MySQL”
Section 18.6, “Binary Logging of Stored Programs”
Section 21.2.2.5, “Compiling and Installing User-Defined Functions”
Section 9.2.3, “Function Name Parsing and Resolution”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.2.1, “Stored Routine Syntax”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section 21.2.2.6, “User-Defined Function Security Precautions”

DROP INDEX

Section 13.1.4, “ALTER TABLE Syntax”
Section 13.1.15, “DROP INDEX Syntax”
Section 11.5.3.6, “Creating Spatial Indexes”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 5.1.3, “Server Command Options”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 5.2.4, “The Slow Query Log”

DROP PROCEDURE

Section 13.1.3, “ALTER PROCEDURE Syntax”
Section 13.1.16, “DROP PROCEDURE and DROP FUNCTION Syntax”
Section 18.6, “Binary Logging of Stored Programs”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.2.1, “Stored Routine Syntax”

DROP SCHEMA

Section 13.1.13, “DROP DATABASE Syntax”
Section 17.1.5.8, “Issues Exclusive to MySQL Cluster”

DROP TABLE

Section 4.5.1.1, “mysql Options”
Section 13.1.4, “ALTER TABLE Syntax”
Section 13.1.11, “CREATE TRIGGER Syntax”
Section 13.1.17, “DROP TABLE Syntax”
Section 14.2.12.1, “InnoDB Performance Tuning Tips”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 14.3.2, “MERGE Table Problems”
Section 13.7.5.31, “SHOW SLAVE STATUS Syntax”
Section 13.4.2.7, “START SLAVE Syntax”
Section 14.2.7.2, “Consistent Nonlocking Reads”
Section 17.4.8, “ndb_drop_index — Drop Index from an NDB Table”
Section 17.4.9, “ndb_drop_table — Drop an NDB Table”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 8.6.3.1, “How the Query Cache Operates”
Section 17.1.5.8, “Issues Exclusive to MySQL Cluster”
Section B.5.8, “Known Issues in MySQL”
Section 14.7.3, “Limitations of the FEDERATED Storage Engine”
Section 17.1.5.2, “Limits and Differences of MySQL Cluster from Standard MySQL Limits”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section D.4, “Restrictions on Views”
Section 5.1.4, “Server System Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 14.4, “The MEMORY (HEAP) Storage Engine”
Section 14.3, “The MERGE Storage Engine”
Section 14.2.12.4, “Troubleshooting InnoDB Data Dictionary Operations”
Section 13.1.10.2, “Using FOREIGN KEY Constraints”
Section 14.2.1.1, “Using Per-Table Tablespaces”
Section D.7.6, “Windows Platform Limitations”

DROP TABLE IF EXISTS

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

DROP TRIGGER

Section 13.1.18, “DROP TRIGGER Syntax”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.3.1, “Trigger Syntax and Examples”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”

DROP USER

Section 13.7.1.2, “DROP USER Syntax”
Section 13.7.6.2, “FLUSH Syntax”
Section 13.7.1.3, “GRANT Syntax”
Section 13.7.1.5, “REVOKE Syntax”
Section 8.9.4, “How MySQL Uses Memory”
Section 17.5.10.2, “MySQL Cluster and MySQL Privileges”
Section 6.2.1, “Privileges Provided by MySQL”
Section 6.3.3, “Removing User Accounts”
Section 16.4.1.17, “Replication and User Privileges”
Section 16.4.1.16, “Replication of the mysql System Database”
Section 13.3.3, “Statements That Cause an Implicit Commit”

DROP VIEW

Section 13.1.19, “DROP VIEW Syntax”
Section 2.19.2.1, “Downgrading to MySQL 4.1”
Section D.4, “Restrictions on Views”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 18.4.1, “View Syntax”

DROP VIEW IF EXISTS

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

E

[index top]

EXECUTE

Section 13.2.1, “CALL Syntax”
Section 13.5.2, “EXECUTE Syntax”
Section 13.5.1, “PREPARE Syntax”
Section D.1, “Restrictions on Stored Programs”
Section D.4, “Restrictions on Views”
Section 5.1.6, “Server Status Variables”
Section 13.5, “SQL Syntax for Prepared Statements”

EXPLAIN

Section 13.1.4, “ALTER TABLE Syntax”
Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.8.1, “DESCRIBE Syntax”
Section 8.3.1.13, “DISTINCT Optimization”
Section 8.2.3, “EXPLAIN EXTENDED Output Format”
Section 8.2.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 8.3.1.6, “IS NULL Optimization”
Section 20.6.11.27, “mysql_stmt_store_result()
Section 20.6.7.69, “mysql_store_result()
Section 20.6.7.71, “mysql_use_result()
Section 8.3.1.11, “ORDER BY Optimization”
Section 13.2.8, “SELECT Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”
Section 20.6.5, “C API Data Structures”
Section 20.6.6, “C API Function Overview”
Section 21.3.1, “Debugging a MySQL Server”
Section 4.6.12, “mysql_explain_log — Use EXPLAIN on Statements in Query Log”
Section 8.3.1.5, “Engine Condition Pushdown Optimization”
Section 8.8.5, “How MySQL Uses Internal Temporary Tables”
Section 8.3.1.16, “How to Avoid Table Scans”
Section 13.2.8.3, “Index Hint Syntax”
Section 8.3.1.4, “Index Merge Optimization”
Section 8.3.1.12.1, “Loose Index Scan”
Section 17.1.4.1, “MySQL Cluster Developement in MySQL 5.0”
Section B.5.6, “Optimizer-Related Issues”
Section 8.2.1, “Optimizing Queries with EXPLAIN
Section 13.2.9.10, “Optimizing Subqueries”
Section 8.3.1.14, “Optimizing Subqueries with EXISTS Strategy”
Section 8.3.3, “Other Optimization Tips”
Section 4.1, “Overview of MySQL Programs”
Section D.1, “Restrictions on Stored Programs”
Section B.5.5.7, “Solving Problems with No Matching Rows”
Section 8.3.1.1, “Speed of SELECT Statements”
Section 13.2.9.8, “Subqueries in the FROM Clause”
Section 8.3.1.4.1, “The Index Merge Intersection Access Algorithm”
Section 8.3.1.3.2, “The Range Access Method for Multiple-Part Indexes”
Section 21.3.1.6, “Using Server Logs to Find Causes of Errors in mysqld
Section 11.5.3.7, “Using Spatial Indexes”

EXPLAIN EXTENDED

Section 8.2.3, “EXPLAIN EXTENDED Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”
Section 8.3.1.5, “Engine Condition Pushdown Optimization”
Section 8.2.1, “Optimizing Queries with EXPLAIN
Section 8.3.1.14, “Optimizing Subqueries with EXISTS Strategy”

EXPLAIN SELECT

Section 8.2.2, “EXPLAIN Output Format”
Section 14.2.7.9, “How to Cope with Deadlocks”
Section 1.7, “How to Report Bugs or Problems”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 13.2.9.8, “Subqueries in the FROM Clause”

EXPLAIN SELECT ... ORDER BY

Section 8.3.1.11, “ORDER BY Optimization”

EXPLAIN tbl_name

Section 8.2.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 D.1, “Restrictions on Stored Programs”

FETCH ... INTO var_list

Section 13.6.4, “Variables in Stored Programs”

FLUSH

Section 13.7.6.2, “FLUSH Syntax”
Section 13.7.1.3, “GRANT Syntax”
Section 13.7.6.5, “RESET Syntax”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 7.3.1, “Establishing a Backup Policy”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.4.1.7, “Replication and FLUSH
Section B.5.4.1.3, “Resetting the Root Password: Generic Instructions”
Section B.5.4.1.2, “Resetting the Root Password: Unix Systems”
Section B.5.4.1.1, “Resetting the Root Password: Windows Systems”
Section D.1, “Restrictions on Stored Programs”
Section 2.18.2, “Securing the Initial MySQL Accounts”
Section 5.1.9, “Server Response to Signals”

FLUSH DES_KEY_FILE

Section 12.12, “Encryption and Compression Functions”

FLUSH HOSTS

Section B.5.2.6, “Host 'host_name' is blocked
Section 20.6.7.55, “mysql_refresh()
Section 8.9.8, “DNS Lookup Optimization and the Host Cache”
Section 5.1.4, “Server System Variables”

FLUSH LOGS

Section 13.7.6.2, “FLUSH Syntax”
Section 20.6.7.55, “mysql_refresh()
Section 7.3.3, “Backup Strategy Summary”
Section 14.5.4, “Characteristics of BDB Tables”
Section 7.2, “Database Backup Methods”
Section 7.3.1, “Establishing a Backup Policy”
Section 5.2, “MySQL Server Logs”
Section 16.4.1.7, “Replication and FLUSH
Section 5.2.5, “Server Log Maintenance”
Section 5.1.6, “Server Status Variables”
Section 5.2.1, “The Error Log”
Section 5.2.2, “The General Query Log”
Section 16.2.2.1, “The Slave Relay Log”

FLUSH MASTER

Section 13.7.6.2, “FLUSH Syntax”
Section 16.4.1.7, “Replication and FLUSH

FLUSH PRIVILEGES

Section 13.7.6.2, “FLUSH Syntax”
Section 20.6.7.55, “mysql_refresh()
Section 20.6.7.56, “mysql_reload()
Section 6.3.2, “Adding User Accounts”
Section 6.3.5, “Assigning Account Passwords”
Section 6.2.7, “Causes of Access-Denied Errors”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 8.9.4, “How MySQL Uses Memory”
Section 17.5.10.3, “MySQL Cluster and MySQL Security Procedures”
Section 6.2.2, “Privilege System Grant Tables”
Section 16.4.1.7, “Replication and FLUSH
Section 5.1.3, “Server Command Options”
Section 6.3.4, “Setting Account Resource Limits”
Section 1.2, “Typographical and Syntax Conventions”
Section 6.2.6, “When Privilege Changes Take Effect”

FLUSH QUERY CACHE

Section 13.7.6.2, “FLUSH Syntax”
Section 8.6.3.4, “Query Cache Status and Maintenance”

FLUSH SLAVE

Section 13.7.6.2, “FLUSH Syntax”
Section 16.4.1.7, “Replication and FLUSH

FLUSH STATUS

Section 20.6.7.55, “mysql_refresh()
Section 5.1.6, “Server Status Variables”

FLUSH TABLE

Section 13.7.6.2, “FLUSH Syntax”
Section 8.3.2.1, “Speed of INSERT Statements”

FLUSH TABLES

Section 13.7.6.2, “FLUSH Syntax”
Section 13.2.4, “HANDLER Syntax”
Section 13.2.5.2, “INSERT DELAYED Syntax”
Section 14.3.2, “MERGE Table Problems”
Section 20.6.7.55, “mysql_refresh()
Section 7.2, “Database Backup Methods”
Section 4.6.3, “myisamchk — MyISAM Table-Maintenance Utility”
Section 4.6.9, “mysqlhotcopy — A Database Backup Program”
Section 8.10.2, “General Thread States”
Section 8.8.3, “How MySQL Opens and Closes Tables”
Section 8.9.4, “How MySQL Uses Memory”
Section 17.1.5.8, “Issues Exclusive to MySQL Cluster”
Section 17.2.4, “MySQL Cluster Example with Tables and Data”
Section 16.1.1.4, “Obtaining the Replication Master Binary Log Coordinates”
Section 14.1.4.2, “Problems from Tables Not Being Closed Properly”
Section 8.6.3.4, “Query Cache Status and Maintenance”
Section 16.4.1.7, “Replication and FLUSH
Section 5.1.6, “Server Status Variables”
Section 5.1.4, “Server System Variables”
Section 8.3.2.1, “Speed of INSERT Statements”
Section D.7.6, “Windows Platform Limitations”

FLUSH TABLES WITH READ LOCK

Section 13.7.6.2, “FLUSH Syntax”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 16.1.1.5, “Creating a Data Snapshot Using mysqldump
Section 7.2, “Database Backup Methods”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 7.3.1, “Establishing a Backup Policy”
Section 8.10.2, “General Thread States”
Section 13.3.5.1, “Interaction of Table Locking and Transactions”
Section B.5.8, “Known Issues in MySQL”
Section 16.1.1.4, “Obtaining the Replication Master Binary Log Coordinates”
Section 16.4.1.7, “Replication and FLUSH
Section 13.3.3, “Statements That Cause an Implicit Commit”

FLUSH USER_RESOURCES

Section 13.7.6.2, “FLUSH Syntax”
Section 6.3.4, “Setting Account Resource Limits”

G

[index top]

GRANT

Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.1.11, “CREATE TRIGGER Syntax”
Section 13.7.1.1, “CREATE USER Syntax”
Section 13.1.12, “CREATE VIEW Syntax”
Section 13.7.6.2, “FLUSH Syntax”
Section 13.7.1.3, “GRANT Syntax”
Section 13.7.1.5, “REVOKE Syntax”
Section 13.7.5.17, “SHOW GRANTS Syntax”
Section 6.2.5, “Access Control, Stage 2: Request Verification”
Section 6.3.2, “Adding User Accounts”
Section 6.3.5, “Assigning Account Passwords”
Section 6.2.7, “Causes of Access-Denied Errors”
Section 16.1.1.3, “Creating a User for Replication”
Section 12.12, “Encryption and Compression Functions”
Section 6.1.2.1, “End-User Guidelines for Password Security”
Section 8.9.4, “How MySQL Uses Memory”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section 17.5.10.2, “MySQL Cluster and MySQL Privileges”
Section 8.3.1, “Optimizing SELECT Statements”
Section 6.1.2.4, “Password Hashing in MySQL”
Section 6.1.2.3, “Passwords and Logging”
Section 6.2.2, “Privilege System Grant Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 2.18.1.1, “Problems Running mysql_install_db
Section 16.4.1.7, “Replication and FLUSH
Section 16.4.1.17, “Replication and User Privileges”
Section 16.4.1.16, “Replication of the mysql System Database”
Section 6.1.1, “Security Guidelines”
Section 5.1.3, “Server Command Options”
Section 5.1.7, “Server SQL Modes”
Section 5.1.4, “Server System Variables”
Section 6.3.4, “Setting Account Resource Limits”
Section 6.2.3, “Specifying Account Names”
Section 6.3.6.4, “SSL Command Options”
Section 6.2, “The MySQL Access Privilege System”
Section 6.3.1, “User Names and Passwords”
Section 6.3.6.3, “Using SSL Connections”
Section 6.3.6, “Using SSL for Secure Connections”
Section 6.2.6, “When Privilege Changes Take Effect”

GRANT ALL

Section 13.7.1.3, “GRANT Syntax”

GRANT USAGE

Section 13.7.1.3, “GRANT Syntax”
Section 6.3.5, “Assigning Account Passwords”
Section 6.3.4, “Setting Account Resource Limits”

H

[index top]

HANDLER

Section 13.2.4, “HANDLER Syntax”
Section 20.6.7.3, “mysql_change_user()
Section 20.6.15, “Controlling Automatic Reconnection Behavior”
Section 14.7.3, “Limitations of the FEDERATED Storage Engine”
Section 1.8, “MySQL Standards Compliance”

HANDLER ... CLOSE

Section 13.7.5.23, “SHOW OPEN TABLES Syntax”

HANDLER ... OPEN

Section 13.7.5.23, “SHOW OPEN TABLES Syntax”

HELP

Section 13.8.3, “HELP Syntax”
Section 5.1.8, “Server-Side Help”

I

[index top]

IF

Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.6.5.2, “IF Syntax”
Section 12.4, “Control Flow Functions”
Section 13.6.5, “Flow Control Statements”

INSERT

Section 4.5.1.1, “mysql Options”
Section 14.2.3.3, “AUTO_INCREMENT Handling in InnoDB
Section 13.1.8, “CREATE INDEX Syntax”
Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.1.11, “CREATE TRIGGER Syntax”
Section 13.1.12, “CREATE VIEW Syntax”
Section 13.6.7.2, “DECLARE ... HANDLER Syntax”
Section 13.2.2, “DELETE Syntax”
Section 13.7.1.3, “GRANT Syntax”
Chapter 19, INFORMATION_SCHEMA Tables
Section 14.2.12.1, “InnoDB Performance Tuning Tips”
Section 14.2.7.4, “InnoDB Record, Gap, and Next-Key Locks”
Section 14.2.2, “InnoDB Startup Options and System Variables”
Section 13.2.5.3, “INSERT ... ON DUPLICATE KEY UPDATE Syntax”
Section 13.2.5.1, “INSERT ... SELECT Syntax”
Section 13.2.5.2, “INSERT DELAYED Syntax”
Section 13.2.5, “INSERT Syntax”
Section 13.2.6, “LOAD DATA INFILE Syntax”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 14.3.2, “MERGE Table Problems”
Section B.5.2.9, “MySQL server has gone away
Section 20.6.7.1, “mysql_affected_rows()
Section 20.6.7.37, “mysql_insert_id()
Section 20.6.7.48, “mysql_num_rows()
Section 20.6.11.10, “mysql_stmt_execute()
Section 20.6.11.13, “mysql_stmt_field_count()
Section 20.6.11.16, “mysql_stmt_insert_id()
Section 20.6.11.17, “mysql_stmt_num_rows()
Section 20.6.11.20, “mysql_stmt_prepare()
Section 20.6.7.69, “mysql_store_result()
Section 13.7.2.5, “OPTIMIZE TABLE Syntax”
Section 1.8.3.1, “PRIMARY KEY and UNIQUE Index Constraints”
Section 13.2.7, “REPLACE Syntax”
Section 13.7.5.25, “SHOW PROCEDURE CODE Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”
Section 6.2.5, “Access Control, Stage 2: Request Verification”
Section 6.3.2, “Adding User Accounts”
Section 7.1, “Backup and Recovery Types”
Section 18.6, “Binary Logging of Stored Programs”
Section 20.6.6, “C API Function Overview”
Section 20.6.10, “C API Prepared Statement Function Overview”
Section 20.6.16, “C API Support for Multiple Statement Execution”
Section 6.2.7, “Causes of Access-Denied Errors”
Section 10.1.12, “Column Character Set Conversion”
Section 8.7.3, “Concurrent Inserts”
Section 17.3.2.11, “Configuring MySQL Cluster Parameters for Local Checkpoints”
Section 1.8.3.3, “Constraints on Invalid Data”
Section 11.6, “Data Type Default Values”
Section 11.1.2, “Date and Time Type Overview”
Section 4.6.7, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 7.3.1, “Establishing a Backup Policy”
Section 12.17.3, “Expression Handling”
Section 14.2.5.2, “Forcing InnoDB Recovery”
Section 8.10.2, “General Thread States”
Section 8.6.3.1, “How the Query Cache Operates”
Section 20.6.14.3, “How to Get the Unique ID for the Last Inserted Row”
Section 14.2.3.1, “How to Use Transactions in InnoDB with Different APIs”
Section 12.13, “Information Functions”
Section 8.7.1, “Internal Locking Methods”
Section 14.7.3, “Limitations of the FEDERATED Storage Engine”
Section 3.3.3, “Loading Data into a Table”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB
Section 12.14, “Miscellaneous Functions”
Section 17.2.4, “MySQL Cluster Example with Tables and Data”
Section 8.1.1, “MySQL Design Limitations and Tradeoffs”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 8.3.3, “Other Optimization Tips”
Section 11.2.6, “Out-of-Range and Overflow Handling”
Section 17.5.5, “Performing a Rolling Restart of a MySQL Cluster”
Section 11.5.3.3, “Populating Spatial Columns”
Section 6.2.2, “Privilege System Grant Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.4.1.1, “Replication and AUTO_INCREMENT
Section 16.4.1.21, “Replication and Server SQL Mode”
Section 16.4.1.8, “Replication and System Functions”
Section 16.4.1.28, “Replication and Variables”
Section 16.1.2.2, “Replication Master Options and Variables”
Section 16.2.3.3, “Replication Rule Application”
Section D.1, “Restrictions on Stored Programs”
Section 5.1.3, “Server Command Options”
Section 5.1.7, “Server SQL Modes”
Section 5.1.4, “Server System Variables”
Section 16.4.1.20, “Slave Errors During Replication”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 13.2.9, “Subquery Syntax”
Section 8.7.2, “Table Locking Issues”
Section 10.1.7.6, “The _bin and binary Collations”
Section 14.8, “The ARCHIVE Storage Engine”
Section 14.10, “The BLACKHOLE Storage Engine”
Section 19.17, “The INFORMATION_SCHEMA VIEWS Table”
Section 14.3, “The MERGE Storage Engine”
Section 14.1, “The MyISAM Storage Engine”
Section 5.2.3, “The Binary Log”
Section 6.2, “The MySQL Access Privilege System”
Section 8.6.3, “The MySQL Query Cache”
Section 5.1.10, “The Shutdown Process”
Section 18.3.1, “Trigger Syntax and Examples”
Section 18.4.3, “Updatable and Insertable Views”
Section 13.1.10.2, “Using FOREIGN KEY Constraints”
Section 18.3, “Using Triggers”
Section 20.6.14.2, “What Results You Can Get from a Query”
Section 6.2.6, “When Privilege Changes Take Effect”
Section 20.6.14.1, “Why mysql_store_result() Sometimes Returns NULL After mysql_query() Returns Success”
Section D.7.6, “Windows Platform Limitations”

INSERT ... ON DUPLICATE KEY UPDATE

Section 13.2.5.3, “INSERT ... ON DUPLICATE KEY UPDATE Syntax”
Section 13.2.5.2, “INSERT DELAYED Syntax”
Section 13.2.5, “INSERT Syntax”
Section 14.3.2, “MERGE Table Problems”
Section 20.6.7.1, “mysql_affected_rows()
Section 12.13, “Information Functions”
Section 14.7.3, “Limitations of the FEDERATED Storage Engine”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB
Section 12.14, “Miscellaneous Functions”
Section 5.2.3, “The Binary Log”

INSERT ... SELECT

Section 13.2.5.1, “INSERT ... SELECT Syntax”
Section 13.2.5.2, “INSERT DELAYED Syntax”
Section 13.2.5, “INSERT Syntax”
Section 20.6.7.37, “mysql_insert_id()
Section 8.7.3, “Concurrent Inserts”
Section B.5.8, “Known Issues in MySQL”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB
Section 17.3.4.3, “MySQL Cluster System Variables”
Section 16.4.1.9, “Replication and LIMIT
Section 5.1.4, “Server System Variables”
Section 5.2.3, “The Binary Log”

INSERT ... SET

Section 13.2.5, “INSERT Syntax”

INSERT ... VALUES

Section 13.2.5, “INSERT Syntax”
Section 20.6.7.35, “mysql_info()

INSERT DELAYED

Section 13.1.4, “ALTER TABLE Syntax”
Section 13.2.5.2, “INSERT DELAYED Syntax”
Section 13.2.5, “INSERT Syntax”
Section 13.7.6.3, “KILL Syntax”
Section 14.3.2, “MERGE Table Problems”
Section 8.10.3, “Delayed-Insert Thread States”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section B.5.8, “Known Issues in MySQL”
Section 2.20.1.3, “Linux Source Distribution Notes”
Section 21.1.1, “MySQL Threads”
Section 8.3.3, “Other Optimization Tips”
Section 16.4.1.8, “Replication and System Functions”
Section D.1, “Restrictions on Stored Programs”
Section 5.1.6, “Server Status Variables”
Section 5.1.4, “Server System Variables”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 8.7.2, “Table Locking Issues”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 14.8, “The ARCHIVE Storage Engine”
Section 14.4, “The MEMORY (HEAP) Storage Engine”
Section 1.8.2.3, “Transactions and Atomic Operations”
Section 18.4.3, “Updatable and Insertable Views”

INSERT IGNORE

Section 1.8.3.4, “ENUM and SET Constraints”
Section 13.2.5, “INSERT Syntax”
Section 1.8.3.3, “Constraints on Invalid Data”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 12.13, “Information Functions”
Section 17.1.5.10, “Previous MySQL Cluster Issues Resolved in MySQL 5.0”
Section 5.1.7, “Server SQL Modes”

INSERT INTO ... SELECT

Section 13.2.5, “INSERT Syntax”
Section 1.8.2.1, “SELECT INTO TABLE
Section 6.2.5, “Access Control, Stage 2: Request Verification”
Section 14.2.7.2, “Consistent Nonlocking Reads”
Section 1.8.3.3, “Constraints on Invalid Data”
Section 14.4, “The MEMORY (HEAP) Storage Engine”

INSERT INTO ... SELECT ...

Section 20.6.7.35, “mysql_info()
Section 14.7.3, “Limitations of the FEDERATED Storage Engine”
Section 20.6.14.2, “What Results You Can Get from a Query”

INSERT INTO ... SELECT FROM memory_table

Section 16.4.1.14, “Replication and MEMORY Tables”

ITERATE

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

K

[index top]

KILL

Section 13.7.1.3, “GRANT Syntax”
Section 13.7.6.3, “KILL Syntax”
Section B.5.2.9, “MySQL server has gone away
Section 20.6.7.38, “mysql_kill()
Section 13.7.5.27, “SHOW PROCESSLIST Syntax”
Section 4.6.18, “mysql_zap — Kill Processes That Match a Pattern”
Section 8.10.2, “General Thread States”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”

KILL CONNECTION

Section 13.7.6.3, “KILL Syntax”
Section 13.4.2.8, “STOP SLAVE Syntax”
Section 5.1.10, “The Shutdown Process”

KILL QUERY

Section 13.7.6.3, “KILL Syntax”
Section 13.4.2.8, “STOP SLAVE Syntax”
Section 5.1.10, “The Shutdown Process”

L

[index top]

LEAVE

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

LOAD DATA

Section 13.1.11, “CREATE TRIGGER Syntax”
Section 13.2.6, “LOAD DATA INFILE Syntax”
Section 8.7.3, “Concurrent Inserts”
Section B.5.8, “Known Issues in MySQL”
Section 17.1.5.3, “Limits Relating to Transaction Handling in MySQL Cluster”
Section 3.3.3, “Loading Data into a Table”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section D.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.3, “Server Command Options”
Section 5.1.4, “Server System Variables”
Section 11.4.4, “The ENUM Type”
Section 9.4, “User-Defined Variables”
Section 13.1.10.2, “Using FOREIGN KEY Constraints”
Section 18.3, “Using Triggers”

LOAD DATA FROM MASTER

Section 8.10.8, “Replication Slave Connection Thread States”

LOAD DATA INFILE

Section 4.5.1.1, “mysql Options”
Section 13.2.6, “LOAD DATA INFILE Syntax”
Section 14.1.1, “MyISAM Startup Options”
Section 9.1.7, “NULL Values”
Section 13.2.8.1, “SELECT ... INTO Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”
Section 16.3.1.2, “Backing Up Raw Data from a Slave”
Section 7.1, “Backup and Recovery Types”
Section 6.2.7, “Causes of Access-Denied Errors”
Section 8.7.3, “Concurrent Inserts”
Section 7.2, “Database Backup Methods”
Section 10.1.3.2, “Database Character Set and Collation”
Section 17.4.17, “ndb_show_tables — Display List of NDB Tables”
Section 4.6.7, “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 B.5.4.3, “How MySQL Handles a Full Disk”
Section B.5.8, “Known Issues in MySQL”
Section 17.1.5.3, “Limits Relating to Transaction Handling in MySQL Cluster”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 8.3.3, “Other Optimization Tips”
Section 11.2.6, “Out-of-Range and Overflow Handling”
Section 4.1, “Overview of MySQL Programs”
Section 17.5.5, “Performing a Rolling Restart of a MySQL Cluster”
Section 6.2.1, “Privileges Provided by MySQL”
Section B.5.5.3, “Problems with NULL Values”
Section 7.4.4, “Reloading Delimited-Text Format Backups”
Section 16.4.1.10, “Replication and LOAD Operations”
Section 16.4.2, “Replication Compatibility Between MySQL Versions”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 8.10.7, “Replication Slave SQL Thread States”
Section D.6, “Restrictions on Character Sets”
Section 5.1.3, “Server Command Options”
Section 5.1.4, “Server System Variables”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 13.2.9, “Subquery Syntax”
Section 14.4, “The MEMORY (HEAP) Storage Engine”
Section 6.2, “The MySQL Access Privilege System”
Section 13.2.9.1, “The Subquery as Scalar Operand”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section B.5.4.4, “Where MySQL Stores Temporary Files”
Section D.7.6, “Windows Platform Limitations”

LOAD DATA INFILE ...

Section 20.6.7.35, “mysql_info()
Section 20.6.14.2, “What Results You Can Get from a Query”

LOAD DATA LOCAL

Section 13.2.6, “LOAD DATA INFILE Syntax”
Section 20.6.7.49, “mysql_options()
Section 20.6.7.52, “mysql_real_connect()
Section 4.6.7, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 6.1.6, “Security Issues with LOAD DATA LOCAL

LOAD DATA LOCAL INFILE

Section 13.2.6, “LOAD DATA INFILE Syntax”
Section 20.6.7.63, “mysql_set_local_infile_handler()
Section 20.6.6, “C API Function Overview”
Section 4.6.7, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 16.4.1.10, “Replication and LOAD Operations”

LOAD INDEX INTO CACHE

Section 13.7.6.1, “CACHE INDEX Syntax”
Section 13.7.6.4, “LOAD INDEX INTO CACHE Syntax”
Section 8.6.1.4, “Index Preloading”

LOAD INDEX INTO CACHE ... IGNORE LEAVES

Section 13.7.6.4, “LOAD INDEX INTO CACHE Syntax”

LOAD TABLE FROM MASTER

Section 14.2.3.5, “InnoDB and MySQL Replication”
Section 14.2.13, “Limits on InnoDB Tables”
Section 8.10.8, “Replication Slave Connection Thread States”

LOCK TABLE

Section 8.7.3, “Concurrent Inserts”
Section 8.10.2, “General Thread States”
Section B.5.7.1, “Problems with ALTER TABLE

LOCK TABLES

Section 13.7.2.2, “BACKUP TABLE Syntax”
Section 13.1.11, “CREATE TRIGGER Syntax”
Section 13.7.6.2, “FLUSH Syntax”
Section 13.7.1.3, “GRANT Syntax”
Section 13.8.3, “HELP Syntax”
Section 14.2.2, “InnoDB Startup Options and System Variables”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 13.3.5.2, “LOCK TABLES and Triggers”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 14.5.4, “Characteristics of BDB Tables”
Section 12.7, “Date and Time Functions”
Section 14.2.7.8, “Deadlock Detection and Rollback”
Section 4.6.9, “mysqlhotcopy — A Database Backup Program”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 14.2.7.9, “How to Cope with Deadlocks”
Section 13.3.5.1, “Interaction of Table Locking and Transactions”
Section 8.7.1, “Internal Locking Methods”
Section 17.1.5.9, “Limitations Relating to Multiple MySQL Cluster Nodes”
Section 14.2.13, “Limits on InnoDB Tables”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB
Section 6.2.1, “Privileges Provided by MySQL”
Section 14.1.4.2, “Problems from Tables Not Being Closed Properly”
Section D.1, “Restrictions on Stored Programs”
Section 5.1.4, “Server System Variables”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 8.9.1, “System Factors and Startup Parameter Tuning”
Section 8.7.2, “Table Locking Issues”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 1.8.2.3, “Transactions and Atomic Operations”

LOOP

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

O

[index top]

OPEN

Section 13.6.6.4, “Cursor OPEN Syntax”

OPTIMIZE TABLE

Section 4.6.3.1, “myisamchk General Options”
Section 13.2.2, “DELETE Syntax”
Section 13.7.6.3, “KILL Syntax”
Section 14.3.2, “MERGE Table Problems”
Section 7.6, “MyISAM Table Maintenance and Crash Recovery”
Section 7.6.4, “MyISAM Table Optimization”
Section 13.7.2.5, “OPTIMIZE TABLE Syntax”
Section 14.5.4, “Characteristics of BDB Tables”
Section 21.3.1, “Debugging a MySQL Server”
Section 4.5.3, “mysqlcheck — A Table Maintenance Program”
Section 14.1.3.2, “Dynamic Table Characteristics”
Section 12.9.6, “Fine-Tuning MySQL Full-Text Search”
Section 8.10.2, “General Thread States”
Section B.5.4.3, “How MySQL Handles a Full Disk”
Section B.5.8, “Known Issues in MySQL”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 8.3.3, “Other Optimization Tips”
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.4.1.7, “Replication and FLUSH
Section D.1, “Restrictions on Stored Programs”
Section 5.1.3, “Server Command Options”
Section 5.1.4, “Server System Variables”
Section 7.6.5, “Setting Up a MyISAM Table Maintenance Schedule”
Section 8.3.2.2, “Speed of UPDATE Statements”
Section 14.1.3.1, “Static (Fixed-Length) Table Characteristics”
Section 14.8, “The ARCHIVE Storage Engine”
Section 5.1.10, “The Shutdown Process”
Section 5.2.4, “The Slow Query Log”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section 14.2.1.1, “Using Per-Table Tablespaces”
Section 8.9.6.2, “Using Symbolic Links for MyISAM Tables on Unix”

P

[index top]

PREPARE

Section 13.2.1, “CALL Syntax”
Section 13.5.3, “DEALLOCATE PREPARE Syntax”
Section 13.5.2, “EXECUTE Syntax”
Section 13.5.1, “PREPARE Syntax”
Section 9.2.2, “Identifier Case Sensitivity”
Section D.1, “Restrictions on Stored Programs”
Section D.4, “Restrictions on Views”
Section 5.1.6, “Server Status Variables”
Section 13.5, “SQL Syntax for Prepared Statements”

PURGE BINARY LOGS

Section 13.7.1.3, “GRANT Syntax”
Section 13.4.1.1, “PURGE BINARY LOGS Syntax”
Section 13.4.1.2, “RESET MASTER Syntax”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 7.3.1, “Establishing a Backup Policy”
Section 6.2.1, “Privileges Provided by MySQL”
Section 5.2.5, “Server Log Maintenance”
Section 5.1.4, “Server System Variables”
Section 5.2.3, “The Binary Log”

R

[index top]

RELEASE SAVEPOINT

Section 13.3.4, “SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT, and Syntax”

RENAME TABLE

Section 13.1.4, “ALTER TABLE Syntax”
Section 13.2.2, “DELETE Syntax”
Section 13.1.20, “RENAME TABLE Syntax”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 8.10.2, “General Thread States”
Section 9.2.2, “Identifier Case Sensitivity”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 14.2.1.1, “Using Per-Table Tablespaces”
Section 8.9.6.2, “Using Symbolic Links for MyISAM Tables on Unix”

RENAME USER

Section 13.7.1.3, “GRANT Syntax”
Section 13.7.1.4, “RENAME USER Syntax”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.3.3, “Statements That Cause an Implicit Commit”

REPAIR TABLE

Section 4.6.3.1, “myisamchk General Options”
Section 13.1.4, “ALTER TABLE Syntax”
Section 13.7.6.3, “KILL Syntax”
Section 13.2.6, “LOAD DATA INFILE Syntax”
Section 14.3.2, “MERGE Table Problems”
Section 14.1.1, “MyISAM Startup Options”
Section 7.6, “MyISAM Table Maintenance and Crash Recovery”
Section 13.7.2.6, “REPAIR TABLE Syntax”
Section 14.1.4.1, “Corrupted MyISAM Tables”
Section 7.2, “Database Backup Methods”
Section 4.6.3, “myisamchk — MyISAM Table-Maintenance Utility”
Section 4.5.3, “mysqlcheck — A Table Maintenance Program”
Section 8.7.4, “External Locking”
Section 12.9.6, “Fine-Tuning MySQL Full-Text Search”
Section 8.10.2, “General Thread States”
Section B.5.4.3, “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 2.15, “Installing MySQL on NetWare”
Section B.5.8, “Known Issues in MySQL”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 6.2.1, “Privileges Provided by MySQL”
Section 14.1.4.2, “Problems from Tables Not Being Closed Properly”
Section B.5.7.1, “Problems with ALTER TABLE
Section 2.19.4, “Rebuilding or Repairing Tables or Indexes”
Section 16.4.1.7, “Replication and FLUSH
Section 16.4.1.12, “Replication and REPAIR TABLE
Section 5.1.3, “Server Command Options”
Section 5.1.4, “Server System Variables”
Section 7.6.5, “Setting Up a MyISAM Table Maintenance Schedule”
Section 8.3.2.4, “Speed of REPAIR TABLE Statements”
Section 14.8, “The ARCHIVE Storage Engine”
Section 5.1.10, “The Shutdown Process”
Section 5.2.4, “The Slow Query Log”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section 8.9.6.2, “Using Symbolic Links for MyISAM Tables on Unix”

REPEAT

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

REPLACE

Section 13.1.10.1, “CREATE TABLE ... SELECT Syntax”
Section 13.1.11, “CREATE TRIGGER Syntax”
Section 13.2.5.2, “INSERT DELAYED Syntax”
Section 13.2.5, “INSERT Syntax”
Section 14.3.2, “MERGE Table Problems”
Section B.5.2.9, “MySQL server has gone away
Section 20.6.7.1, “mysql_affected_rows()
Section 13.2.7, “REPLACE Syntax”
Section 11.6, “Data Type Default Values”
Section 8.1.2, “Designing Applications for Portability”
Section 12.13, “Information Functions”
Section B.5.8, “Known Issues in MySQL”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 17.1.5.10, “Previous MySQL Cluster Issues Resolved in MySQL 5.0”
Section 5.1.3, “Server Command Options”
Section 13.2.9, “Subquery Syntax”
Section 14.8, “The ARCHIVE Storage Engine”

REPLACE ... SELECT

Section B.5.8, “Known Issues in MySQL”

RESET

Section 13.7.6.2, “FLUSH Syntax”
Section 13.7.6.5, “RESET Syntax”
Section 1.8.1, “MySQL Extensions to Standard SQL”

RESET MASTER

Section 13.7.6.2, “FLUSH Syntax”
Section 20.6.7.55, “mysql_refresh()
Section 13.4.1.2, “RESET MASTER Syntax”
Section 16.3.6, “Switching Masters During Failover”
Section 5.2.3, “The Binary Log”

RESET SLAVE

Section 13.7.6.2, “FLUSH Syntax”
Section 20.6.7.55, “mysql_refresh()
Section 13.4.1.2, “RESET MASTER Syntax”
Section 13.4.2.5, “RESET SLAVE Syntax”
Section 16.1.2.3, “Replication Slave Options and Variables”

RESTORE TABLE

Section 13.7.2.2, “BACKUP TABLE Syntax”
Section 13.7.2.7, “RESTORE TABLE Syntax”
Section 8.9.6.2, “Using Symbolic Links for MyISAM Tables on Unix”

RETURN

Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.6.5.5, “LOOP Syntax”
Section 13.6.5.7, “RETURN Syntax”
Section 13.6.5, “Flow Control Statements”
Section D.1, “Restrictions on Stored Programs”

REVOKE

Section 13.7.1.2, “DROP USER Syntax”
Section 13.7.6.2, “FLUSH Syntax”
Section 13.7.1.3, “GRANT Syntax”
Section 13.7.1.5, “REVOKE Syntax”
Section 6.2.5, “Access Control, Stage 2: Request Verification”
Section 8.9.4, “How MySQL Uses Memory”
Section 17.5.10.2, “MySQL Cluster and MySQL Privileges”
Section 1.8.2, “MySQL Differences from Standard SQL”
Section 6.2.2, “Privilege System Grant Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section 2.18.1.1, “Problems Running mysql_install_db
Section 16.4.1.17, “Replication and User Privileges”
Section 16.4.1.16, “Replication of the mysql System Database”
Section 6.1.1, “Security Guidelines”
Section 6.2, “The MySQL Access Privilege System”
Section 6.3.1, “User Names and Passwords”
Section 6.2.6, “When Privilege Changes Take Effect”

REVOKE ALL PRIVILEGES

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

ROLLBACK

Section 14.2.11, “InnoDB Error Handling”
Section 20.6.7.3, “mysql_change_user()
Section 13.3.4, “SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT, and Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 18.6, “Binary Logging of Stored Programs”
Section 14.5.4, “Characteristics of BDB Tables”
Section 14.2.3.1, “How to Use Transactions in InnoDB with Different APIs”
Section 12.13, “Information Functions”
Section 13.3.5.1, “Interaction of Table Locking and Transactions”
Section 17.1.5.3, “Limits Relating to Transaction Handling in MySQL Cluster”
Section 13.3, “MySQL Transactional and Locking Statements”
Section 16.4.1.25, “Replication and Transactions”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section B.5.5.5, “Rollback Failure for Nontransactional Tables”
Section 5.1.4, “Server System Variables”
Section 13.3.2, “Statements That Cannot Be Rolled Back”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Chapter 14, Storage Engines
Section 14.5, “The BDB (BerkeleyDB) Storage Engine”
Section 14.2.7, “The InnoDB Transaction Model and Locking”
Section 5.2.3, “The Binary Log”
Section 1.8.2.3, “Transactions and Atomic Operations”
Section 18.3.1, “Trigger Syntax and Examples”

ROLLBACK TO SAVEPOINT

Section 13.3.4, “SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT, and Syntax”

S

[index top]

SAVEPOINT

Section 13.3.4, “SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT, and Syntax”

SELECT

Section 4.5.1.1, “mysql Options”
Section 13.1.4, “ALTER TABLE Syntax”
Section 13.1.5, “ALTER VIEW Syntax”
Section 13.2.1, “CALL Syntax”
Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.1.10.1, “CREATE TABLE ... SELECT Syntax”
Section 13.1.10, “CREATE TABLE Syntax”
Section 13.1.12, “CREATE VIEW Syntax”
Section 13.2.2, “DELETE Syntax”
Section 13.2.3, “DO Syntax”
Section 8.2.3, “EXPLAIN EXTENDED Output Format”
Section 8.2.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 13.7.1.3, “GRANT Syntax”
Section 12.15.1, “GROUP BY (Aggregate) Functions”
Section 13.2.4, “HANDLER Syntax”
Chapter 19, INFORMATION_SCHEMA Tables
Section 14.2.2, “InnoDB Startup Options and System Variables”
Section 13.2.5.1, “INSERT ... SELECT Syntax”
Section 13.2.5.2, “INSERT DELAYED Syntax”
Section 13.2.5, “INSERT Syntax”
Section 13.2.8.2, “JOIN Syntax”
Section 13.7.6.3, “KILL Syntax”
Section 13.4.2.2, “LOAD DATA FROM MASTER Syntax”
Section 13.4.2.3, “LOAD TABLE tbl_name FROM MASTER Syntax”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 14.3.2, “MERGE Table Problems”
Section 7.6.4, “MyISAM Table Optimization”
Section 20.6.7.1, “mysql_affected_rows()
Section 20.6.7.17, “mysql_fetch_field()
Section 20.6.7.22, “mysql_field_count()
Section 20.6.7.37, “mysql_insert_id()
Section 20.6.7.47, “mysql_num_fields()
Section 20.6.7.48, “mysql_num_rows()
Section 20.6.11.10, “mysql_stmt_execute()
Section 20.6.11.11, “mysql_stmt_fetch()
Section 20.6.11.17, “mysql_stmt_num_rows()
Section 20.6.11.27, “mysql_stmt_store_result()
Section 20.6.7.69, “mysql_store_result()
Section 20.6.7.71, “mysql_use_result()
Section 14.2.7.3, “SELECT ... FOR UPDATE and SELECT ... LOCK IN SHARE MODE Locking Reads”
Section 13.2.8.1, “SELECT ... INTO Syntax”
Section 13.2.8, “SELECT Syntax”
Section 13.3.6, “SET TRANSACTION Syntax”
Section 13.7.4, “SET Syntax”
Section 13.7.5.2, “SHOW BINLOG EVENTS Syntax”
Section 13.7.5.8, “SHOW CREATE PROCEDURE Syntax”
Section 13.7.5.10, “SHOW CREATE VIEW Syntax”
Section 13.7.5.14, “SHOW ERRORS Syntax”
Section 13.7.5.25, “SHOW PROCEDURE CODE Syntax”
Section 13.7.5.27, “SHOW PROCESSLIST Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”
Section 13.7.5, “SHOW Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 13.2.8.4, “UNION Syntax”
Section 13.2.10, “UPDATE Syntax”
Section 12.3.4, “Assignment Operators”
Section 14.2.7.5, “Avoiding the Phantom Problem Using Next-Key Locking”
Section 18.6, “Binary Logging of Stored Programs”
Section 20.6.5, “C API Data Structures”
Section 20.6.6, “C API Function Overview”
Section 20.6.10, “C API Prepared Statement Function Overview”
Section 20.6.16, “C API Support for Multiple Statement Execution”
Section 8.5.1, “Column Indexes”
Section 12.3.2, “Comparison Functions and Operators”
Section 8.7.3, “Concurrent Inserts”
Section 17.3.2.11, “Configuring MySQL Cluster Parameters for Local Checkpoints”
Section 10.1.4, “Connection Character Sets and Collations”
Section 14.2.7.2, “Consistent Nonlocking Reads”
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 17.4.15, “ndb_select_all — Print Rows from an NDB Table”
Section 4.6.12, “mysql_explain_log — Use EXPLAIN on Statements in Query Log”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 2.2, “Determining Your Current MySQL Version”
Section 8.8.4, “Disadvantages of Creating Many Tables in the Same Database”
Section 5.1.5.2, “Dynamic System Variables”
Section 3.2, “Entering Queries”
Section 10.1.7.8, “Examples of the Effect of Collation”
Section 14.2.5.2, “Forcing InnoDB Recovery”
Section 1.8.2.4, “Foreign Keys”
Chapter 12, Functions and Operators
Section 8.10.2, “General Thread States”
Section 8.3.1.2, “How MySQL Optimizes WHERE Clauses”
Section 8.5.3, “How MySQL Uses Indexes”
Section 8.8.5, “How MySQL Uses Internal Temporary Tables”
Section 8.6.3.1, “How the Query Cache Operates”
Section 14.2.7.9, “How to Cope with Deadlocks”
Section 1.7, “How to Report Bugs or Problems”
Section 14.2.3.1, “How to Use Transactions in InnoDB with Different APIs”
Section 9.2.1, “Identifier Qualifiers”
Section 13.2.8.3, “Index Hint Syntax”
Section 12.13, “Information Functions”
Section 2.17.1, “Installing MySQL Using a Standard Source Distribution”
Section 8.7.1, “Internal Locking Methods”
Section B.5.8, “Known Issues in MySQL”
Section 14.7.3, “Limitations of the FEDERATED Storage Engine”
Section 17.1.5.3, “Limits Relating to Transaction Handling in MySQL Cluster”
Section 13.6.4.2, “Local Variable Scope and Resolution”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section 8.5.2, “Multiple-Column Indexes”
Section 17.2.4, “MySQL Cluster Example with Tables and Data”
Section 1.8.2, “MySQL Differences from Standard SQL”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 12.9.1, “Natural Language Full-Text Searches”
Section B.5.6, “Optimizer-Related Issues”
Section 8.3.1, “Optimizing SELECT Statements”
Section 8.3.2, “Optimizing Non-SELECT Statements”
Section 8.2.1, “Optimizing Queries with EXPLAIN
Section 8.3.1.14, “Optimizing Subqueries with EXISTS Strategy”
Section 4.6.3.4, “Other myisamchk Options”
Section 8.3.3, “Other Optimization Tips”
Section 6.2.1, “Privileges Provided by MySQL”
Section B.5.5.2, “Problems Using DATE Columns”
Section 8.6.3.2, “Query Cache SELECT Options”
Section 8.6.3.4, “Query Cache Status and Maintenance”
Section 16.2, “Replication Implementation”
Section 16.1.2.2, “Replication Master Options and Variables”
Section 9.3, “Reserved Words”
Section D.1, “Restrictions on Stored Programs”
Section D.4, “Restrictions on Views”
Section 3.3.4, “Retrieving Information from a Table”
Section 3.6.7, “Searching on Two Keys”
Section 2.18.2, “Securing the Initial MySQL Accounts”
Section 3.3.4.1, “Selecting All Data”
Section 3.3.4.2, “Selecting Particular Rows”
Section 5.1.7, “Server SQL Modes”
Section 5.1.4, “Server System Variables”
Section 2.20.5.7, “SGI Irix Notes”
Section B.5.5.7, “Solving Problems with No Matching Rows”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 8.3.1.1, “Speed of SELECT Statements”
Section 8.3.2.2, “Speed of UPDATE Statements”
Section 18.2.1, “Stored Routine Syntax”
Section 9.1.1, “String Literals”
Section 13.2.9.8, “Subqueries in the FROM Clause”
Section 13.2.9.6, “Subqueries with EXISTS or NOT EXISTS
Section 13.2.9.9, “Subquery Errors”
Section 13.2.9, “Subquery Syntax”
Section 8.7.2, “Table Locking Issues”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 14.8, “The ARCHIVE Storage Engine”
Section 11.4.4, “The ENUM Type”
Section 19.4, “The INFORMATION_SCHEMA COLUMNS Table”
Section 19.17, “The INFORMATION_SCHEMA VIEWS Table”
Section 14.3, “The MERGE Storage Engine”
Section 5.2.3, “The Binary Log”
Section 6.2, “The MySQL Access Privilege System”
Section 8.6.3, “The MySQL Query Cache”
Section 8.3.1.3.1, “The Range Access Method for Single-Part Indexes”
Section 13.2.9.1, “The Subquery as Scalar Operand”
Section 18.3.1, “Trigger Syntax and Examples”
Section 1.2, “Typographical and Syntax Conventions”
Section 2.18.1, “Unix Postinstallation Procedures”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section 9.4, “User-Defined Variables”
Section 8.8.2, “Using PROCEDURE ANALYSE
Section 21.3.1.6, “Using Server Logs to Find Causes of Errors in mysqld
Section 11.5.3.7, “Using Spatial Indexes”
Section 5.1.5, “Using System Variables”
Section 4.5.1.6.3, “Using the --safe-updates Option”
Section 10.1.11, “UTF-8 for Metadata”
Section 18.4.1, “View Syntax”
Section B.5.4.4, “Where MySQL Stores Temporary Files”
Section D.7.6, “Windows Platform Limitations”

SELECT *

Section 11.4.3, “The BLOB and TEXT Types”

SELECT * INTO OUTFILE 'file_name' FROM tbl_name

Section 7.2, “Database Backup Methods”

SELECT ... FOR UPDATE

Section 14.2.7.1, “InnoDB Lock Modes”
Section 14.2.7.3, “SELECT ... FOR UPDATE and SELECT ... LOCK IN SHARE MODE Locking Reads”
Section 14.2.7.9, “How to Cope with Deadlocks”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB

SELECT ... FROM

Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB

SELECT ... FROM ... FOR UPDATE

Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB

SELECT ... FROM ... LOCK IN SHARE MODE

Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB

SELECT ... INTO

Section 13.2.8.1, “SELECT ... INTO Syntax”
Section 1.8.2.1, “SELECT INTO TABLE
Section 13.2.8, “SELECT Syntax”
Section 13.6.4.2, “Local Variable Scope and Resolution”
Section 16.4.1.8, “Replication and System Functions”

SELECT ... INTO DUMPFILE

Section 2.17.1, “Installing MySQL Using a Standard Source Distribution”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section 5.1.4, “Server System Variables”
Section 2.18.1, “Unix Postinstallation Procedures”

SELECT ... INTO OUTFILE

Section 13.2.6, “LOAD DATA INFILE Syntax”
Section 9.1.7, “NULL Values”
Section 13.2.8.1, “SELECT ... INTO Syntax”
Section 1.8.2.1, “SELECT INTO TABLE
Section 7.1, “Backup and Recovery Types”
Section 6.2.7, “Causes of Access-Denied Errors”
Section 7.4.3, “Dumping Data in Delimited-Text Format with mysqldump
Section 14.2.5.2, “Forcing InnoDB Recovery”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section 6.2.1, “Privileges Provided by MySQL”
Section 5.1.3, “Server Command Options”
Section 5.1.4, “Server System Variables”
Section 1.2, “Typographical and Syntax Conventions”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section D.7.6, “Windows Platform Limitations”

SELECT ... INTO OUTFILE 'file_name'

Section 13.2.8.1, “SELECT ... INTO Syntax”

SELECT ... INTO var_list

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

SELECT ... LOCK IN SHARE MODE

Section 14.2.7.1, “InnoDB Lock Modes”
Section 14.2.7.3, “SELECT ... FOR UPDATE and SELECT ... LOCK IN SHARE MODE Locking Reads”
Section 13.3.6, “SET TRANSACTION Syntax”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB

SELECT DISTINCT

Section 8.10.2, “General Thread States”
Section D.3, “Restrictions on Subqueries”

SET

Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 14.2.2, “InnoDB Startup Options and System Variables”
Section 13.7.4, “SET Syntax”
Section 13.7.5.36, “SHOW VARIABLES Syntax”
Section 12.3.4, “Assignment Operators”
Section 16.1.2.4, “Binary Log Options and Variables”
Section 18.6, “Binary Logging of Stored Programs”
Section 18.1, “Defining Stored Programs”
Section 4.6.13, “mysql_find_rows — Extract SQL Statements from Files”
Section 4.6.7, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 5.1.5.2, “Dynamic System Variables”
Chapter 12, Functions and Operators
Section 12.13, “Information Functions”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 8.6.3.3, “Query Cache Configuration”
Section 16.1.2.2, “Replication Master Options and Variables”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 5.1.3, “Server Command Options”
Section 5.1.7, “Server SQL Modes”
Section 5.1.4, “Server System Variables”
Section 13.2.9, “Subquery Syntax”
Section 18.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.5, “Using System Variables”
Section 4.5.1.6.3, “Using the --safe-updates Option”
Section 13.6.4, “Variables in Stored Programs”

SET autocommit

Section 14.2.12.1, “InnoDB Performance Tuning Tips”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 13.3, “MySQL Transactional and Locking Statements”

SET GLOBAL

Section 13.7.1.3, “GRANT Syntax”
Section 13.7.4, “SET Syntax”
Section 5.1.5.2, “Dynamic System Variables”
Section 8.6.1.2, “Multiple Key Caches”
Section 6.2.1, “Privileges Provided by MySQL”
Section 5.1.5, “Using System Variables”

SET PASSWORD

Section B.5.2.4, “Client does not support authentication protocol
Section 13.7.1.2, “DROP USER Syntax”
Section 13.7.1.6, “SET PASSWORD Syntax”
Section 13.7.4, “SET Syntax”
Section 6.3.5, “Assigning Account Passwords”
Section 6.2.7, “Causes of Access-Denied Errors”
Section 6.1.2.1, “End-User Guidelines for Password Security”
Section 6.1.2.4, “Password Hashing in MySQL”
Section 6.1.2.3, “Passwords and Logging”
Section 16.4.1.17, “Replication and User Privileges”
Section 16.4.1.28, “Replication and Variables”
Section 16.4.1.16, “Replication of the mysql System Database”
Section 2.18.2, “Securing the Initial MySQL Accounts”
Section 5.1.4, “Server System Variables”
Section 6.2.3, “Specifying Account Names”
Section 6.2.6, “When Privilege Changes Take Effect”

SET SESSION

Section 13.7.4, “SET Syntax”
Section 5.1.5.2, “Dynamic System Variables”
Section 5.1.5, “Using System Variables”

SET TIMESTAMP = value

Section 8.10, “Examining Thread Information”

SET TRANSACTION

Section 13.3.6, “SET TRANSACTION Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 5.1.3, “Server Command Options”
Section 5.1.4, “Server System Variables”
Section 14.2.7, “The InnoDB Transaction Model and Locking”

SET TRANSACTION ISOLATION LEVEL

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

SHOW

Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Chapter 19, INFORMATION_SCHEMA Tables
Section 20.6.11.27, “mysql_stmt_store_result()
Section 20.6.7.69, “mysql_store_result()
Section 20.6.7.71, “mysql_use_result()
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.7.5.18, “SHOW INDEX Syntax”
Section 13.7.5.23, “SHOW OPEN TABLES Syntax”
Section 13.7.5.34, “SHOW TABLES Syntax”
Section 10.1.9.3, “SHOW Statements and INFORMATION_SCHEMA
Section 13.7.5, “SHOW Syntax”
Section 20.6.5, “C API Data Structures”
Section 20.6.6, “C API Function Overview”
Section 14.2.3, “Creating and Using InnoDB Tables”
Section 3.3, “Creating and Using a Database”
Section 13.6.6.2, “Cursor DECLARE Syntax”
Section 4.5.6, “mysqlshow — Display Database, Table, and Column Information”
Section 19.18, “Extensions to SHOW Statements”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section D.1, “Restrictions on Stored Programs”
Section 13.4.1, “SQL Statements for Controlling Master Servers”
Section 18.2.3, “Stored Routine Metadata”
Section 19.1, “The INFORMATION_SCHEMA CHARACTER_SETS Table”
Section 19.3, “The INFORMATION_SCHEMA COLLATION_CHARACTER_SET_APPLICABILITY Table”
Section 19.2, “The INFORMATION_SCHEMA COLLATIONS Table”
Section 19.5, “The INFORMATION_SCHEMA COLUMN_PRIVILEGES Table”
Section 19.4, “The INFORMATION_SCHEMA COLUMNS Table”
Section 19.6, “The INFORMATION_SCHEMA KEY_COLUMN_USAGE Table”
Section 19.7, “The INFORMATION_SCHEMA PROFILING Table”
Section 19.10, “The INFORMATION_SCHEMA SCHEMA_PRIVILEGES Table”
Section 19.9, “The INFORMATION_SCHEMA SCHEMATA Table”
Section 19.11, “The INFORMATION_SCHEMA STATISTICS Table”
Section 19.13, “The INFORMATION_SCHEMA TABLE_CONSTRAINTS Table”
Section 19.14, “The INFORMATION_SCHEMA TABLE_PRIVILEGES Table”
Section 19.12, “The INFORMATION_SCHEMA TABLES Table”
Section 19.15, “The INFORMATION_SCHEMA TRIGGERS Table”
Section 19.16, “The INFORMATION_SCHEMA USER_PRIVILEGES Table”
Section 19.17, “The INFORMATION_SCHEMA VIEWS Table”
Section 5.2.3, “The Binary Log”
Section 10.1.11, “UTF-8 for Metadata”

SHOW BINARY LOGS

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”

SHOW BINLOG EVENTS

Section 13.7.5.2, “SHOW BINLOG EVENTS Syntax”
Section 13.4.2.7, “START SLAVE Syntax”
Section D.2, “Restrictions on Server-Side Cursors”
Section 13.4.1, “SQL Statements for Controlling Master Servers”

SHOW CHARACTER SET

Section 13.1.1, “ALTER DATABASE Syntax”
Section 13.7.5.3, “SHOW CHARACTER SET Syntax”
Section 10.1.9.3, “SHOW Statements and INFORMATION_SCHEMA
Section 10.1.2, “Character Sets and Collations in MySQL”
Section 10.1.13, “Character Sets and Collations That MySQL Supports”
Section 19.18, “Extensions to SHOW Statements”

SHOW COLLATION

Section 13.1.1, “ALTER DATABASE Syntax”
Section 13.7.5.4, “SHOW COLLATION Syntax”
Section 10.1.9.3, “SHOW Statements and INFORMATION_SCHEMA
Section 20.6.5, “C API Data Structures”
Section 10.5, “Character Set Configuration”
Section 10.1.2, “Character Sets and Collations in MySQL”
Section 10.1.3.5, “Character String Literal Character Set and Collation”
Section 10.4.2, “Choosing a Collation ID”
Section 10.1.3.4, “Column Character Set and Collation”
Section 10.1.3.2, “Database Character Set and Collation”
Section 2.17.3, “MySQL Source-Configuration Options”
Section 10.1.3.3, “Table Character Set and Collation”
Section 19.3, “The INFORMATION_SCHEMA COLLATION_CHARACTER_SET_APPLICABILITY Table”
Section 19.2, “The INFORMATION_SCHEMA COLLATIONS Table”

SHOW COLUMNS

Section 13.8.2, “EXPLAIN Syntax”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 10.1.9.3, “SHOW Statements and INFORMATION_SCHEMA
Section 4.6.16, “mysql_tableinfo — Generate Database Metadata”
Section 19.18, “Extensions to SHOW Statements”
Section 8.8.5, “How MySQL Uses Internal Temporary Tables”
Section 8.3.1.15, “Optimizing LIMIT Queries”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”

SHOW COLUMNS FROM tbl_name LIKE 'enum_col'

Section 11.4.4, “The ENUM Type”

SHOW COUNT()

Section 13.7.5.14, “SHOW ERRORS Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”

SHOW CREATE DATABASE

Section 13.7.5.6, “SHOW CREATE DATABASE Syntax”
Section 10.1.9.3, “SHOW Statements and INFORMATION_SCHEMA
Section 5.1.4, “Server System Variables”

SHOW CREATE FUNCTION

Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.7.5.7, “SHOW CREATE FUNCTION Syntax”
Section 13.7.5.8, “SHOW CREATE PROCEDURE Syntax”
Section 1.7, “How to Report Bugs or Problems”
Section 18.2.3, “Stored Routine Metadata”

SHOW CREATE PROCEDURE

Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Section 13.7.5.7, “SHOW CREATE FUNCTION Syntax”
Section 13.7.5.8, “SHOW CREATE PROCEDURE Syntax”
Section 1.7, “How to Report Bugs or Problems”
Section 18.2.3, “Stored Routine Metadata”

SHOW CREATE SCHEMA

Section 13.7.5.6, “SHOW CREATE DATABASE Syntax”

SHOW CREATE TABLE

Section 13.1.8, “CREATE INDEX Syntax”
Section 13.1.10, “CREATE TABLE Syntax”
Section 13.8.2, “EXPLAIN Syntax”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.7.5.9, “SHOW CREATE TABLE Syntax”
Section 10.1.9.3, “SHOW Statements and INFORMATION_SCHEMA
Section 14.5.4, “Characteristics of BDB Tables”
Section 11.6, “Data Type Default Values”
Section 3.4, “Getting Information About Databases and Tables”
Section 7.6.3, “How to Repair MyISAM Tables”
Section 14.7.2, “How to Use FEDERATED Tables”
Section 17.1.5.1, “Noncompliance with SQL Syntax in MySQL Cluster”
Section 2.19.4, “Rebuilding or Repairing Tables or Indexes”
Section 5.1.7, “Server SQL Modes”
Section 5.1.4, “Server System Variables”
Section 13.1.10.3, “Silent Column Specification Changes”
Section 13.1.10.2, “Using FOREIGN KEY Constraints”
Section 3.6.6, “Using Foreign Keys”

SHOW CREATE TRIGGER

Section 19.15, “The INFORMATION_SCHEMA TRIGGERS Table”
Section 18.3.2, “Trigger Metadata”

SHOW CREATE VIEW

Section 13.7.1.3, “GRANT Syntax”
Section 13.7.5.10, “SHOW CREATE VIEW Syntax”
Section 6.2.1, “Privileges Provided by MySQL”
Section D.4, “Restrictions on Views”
Section 19.17, “The INFORMATION_SCHEMA VIEWS Table”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”
Section 18.4.4, “View Metadata”

SHOW DATABASES

Section 13.1.6, “CREATE DATABASE Syntax”
Section 13.7.1.3, “GRANT Syntax”
Chapter 19, INFORMATION_SCHEMA Tables
Section 13.4.2.2, “LOAD DATA FROM MASTER Syntax”
Section 13.7.5.11, “SHOW DATABASES Syntax”
Section 3.3, “Creating and Using a Database”
Section 4.6.16, “mysql_tableinfo — Generate Database Metadata”
Section 19.18, “Extensions to SHOW Statements”
Section 3.4, “Getting Information About Databases and Tables”
Section 9.2.2, “Identifier Case Sensitivity”
Section 2.20.1.6, “Linux SPARC Notes”
Section 17.5.10.2, “MySQL Cluster and MySQL Privileges”
Section 6.2.2, “Privilege System Grant Tables”
Section 5.1.3, “Server Command Options”
Section 5.1.4, “Server System Variables”

SHOW ENGINE

Section 13.7.5.12, “SHOW ENGINE Syntax”

SHOW ENGINE BDB LOGS

Section 13.7.5.12, “SHOW ENGINE Syntax”
Section 13.7.5.20, “SHOW LOGS Syntax”

SHOW ENGINE INNODB MUTEX

Section 13.7.5.22, “SHOW MUTEX STATUS Syntax”
Section 5.1.4, “Server System Variables”

SHOW ENGINE INNODB STATUS

Section 14.2.3.4, “InnoDB and FOREIGN KEY Constraints”
Section 14.2.12.2.1, “InnoDB Standard Monitor and Lock Monitor Output”
Section 14.2.2, “InnoDB Startup Options and System Variables”
Section 14.2.12.2, “SHOW ENGINE INNODB STATUS and the InnoDB Monitors”
Section 13.7.5.12, “SHOW ENGINE Syntax”
Section 13.7.5.19, “SHOW INNODB STATUS Syntax”
Section 14.2.7.9, “How to Cope with Deadlocks”
Section B.1, “Sources of Error Information”
Section 13.1.10.2, “Using FOREIGN KEY Constraints”
Section 14.2.1.1, “Using Per-Table Tablespaces”

SHOW ENGINE NDB STATUS

Section 13.7.5.12, “SHOW ENGINE Syntax”
Section 17.5, “Management of MySQL Cluster”
Section 17.5.9, “Quick Reference: MySQL Cluster SQL Statements”

SHOW ENGINE NDBCLUSTER STATUS

Section 17.3.4.2, “mysqld Command Options for MySQL Cluster”
Section 13.7.5.12, “SHOW ENGINE Syntax”
Section 17.5.9, “Quick Reference: MySQL Cluster SQL Statements”

SHOW ENGINES

Section 13.7.5.13, “SHOW ENGINES Syntax”
Section 17.3.4.3, “MySQL Cluster System Variables”
Section 17.5.4, “MySQL Server Usage for MySQL Cluster”
Section 2.10.4.3, “Selecting a MySQL Server Type”
Section 5.1.4, “Server System Variables”
Chapter 14, Storage Engines
Section 14.2, “The InnoDB Storage Engine”

SHOW ERRORS

Section 14.2.3.4, “InnoDB and FOREIGN KEY Constraints”
Section 13.7.5.14, “SHOW ERRORS Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”
Section 5.1.4, “Server System Variables”
Section B.1, “Sources of Error Information”

SHOW FULL COLUMNS

Section 13.1.10, “CREATE TABLE Syntax”
Section 10.1.9.3, “SHOW Statements and INFORMATION_SCHEMA
Section 19.5, “The INFORMATION_SCHEMA COLUMN_PRIVILEGES Table”

SHOW FULL PROCESSLIST

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

SHOW FULL TABLES

Section 13.7.5.34, “SHOW TABLES Syntax”
Section 4.5.6, “mysqlshow — Display Database, Table, and Column Information”

SHOW FUNCTION CODE

Section 13.7.5.15, “SHOW FUNCTION CODE Syntax”
Section 13.7.5.25, “SHOW PROCEDURE CODE Syntax”

SHOW FUNCTION STATUS

Section 13.7.5.16, “SHOW FUNCTION STATUS Syntax”
Section 13.7.5.26, “SHOW PROCEDURE STATUS Syntax”
Section 18.2.3, “Stored Routine Metadata”

SHOW GLOBAL STATUS

Section 5.1.4, “Server System Variables”

SHOW GRANTS

Section 13.7.1.2, “DROP USER Syntax”
Section 13.7.1.3, “GRANT Syntax”
Section 13.7.1.5, “REVOKE Syntax”
Section 13.7.5.17, “SHOW GRANTS Syntax”
Section 13.7.5.24, “SHOW PRIVILEGES Syntax”
Section 6.3.2, “Adding User Accounts”
Section 6.2.2, “Privilege System Grant Tables”
Section 6.1.1, “Security Guidelines”
Section 6.2, “The MySQL Access Privilege System”

SHOW INDEX

Section 13.7.2.1, “ANALYZE TABLE Syntax”
Section 8.2.2, “EXPLAIN Output Format”
Section 13.8.2, “EXPLAIN Syntax”
Section 8.5.4, “MyISAM Index Statistics Collection”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.7.5.18, “SHOW INDEX Syntax”
Section 4.6.16, “mysql_tableinfo — Generate Database Metadata”
Section 13.2.8.3, “Index Hint Syntax”
Section 14.2.13, “Limits on InnoDB Tables”
Section 4.6.3.4, “Other myisamchk Options”
Section 19.11, “The INFORMATION_SCHEMA STATISTICS Table”
Section 19.13, “The INFORMATION_SCHEMA TABLE_CONSTRAINTS Table”

SHOW INNODB STATUS

Section 13.7.5.12, “SHOW ENGINE Syntax”
Section 13.7.5.19, “SHOW INNODB STATUS Syntax”

SHOW MASTER LOGS

Section 13.7.5.1, “SHOW BINARY LOGS Syntax”

SHOW MASTER STATUS

Section 13.7.5.21, “SHOW MASTER STATUS Syntax”
Section 16.1.1.5, “Creating a Data Snapshot Using mysqldump
Section 16.4.5, “How to Report Replication Bugs or Problems”
Section 16.1.1.4, “Obtaining the Replication Master Binary Log Coordinates”
Section 6.2.1, “Privileges Provided by MySQL”
Section 13.4.1, “SQL Statements for Controlling Master Servers”
Section 16.4.4, “Troubleshooting Replication”

SHOW MUTEX STATUS

Section 13.7.5.22, “SHOW MUTEX STATUS Syntax”

SHOW OPEN TABLES

Section 13.7.5.23, “SHOW OPEN TABLES Syntax”

SHOW PRIVILEGES

Section 13.7.5.24, “SHOW PRIVILEGES Syntax”

SHOW PROCEDURE CODE

Section 13.7.5.15, “SHOW FUNCTION CODE Syntax”
Section 13.7.5.25, “SHOW PROCEDURE CODE Syntax”

SHOW PROCEDURE STATUS

Section 13.7.5.16, “SHOW FUNCTION STATUS Syntax”
Section 13.7.5.26, “SHOW PROCEDURE STATUS Syntax”
Section 18.2.3, “Stored Routine Metadata”

SHOW PROCESSLIST

Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 13.7.1.3, “GRANT Syntax”
Section 14.2.11, “InnoDB Error Handling”
Section 13.7.6.3, “KILL Syntax”
Section 20.6.7.43, “mysql_list_processes()
Section 13.7.5.27, “SHOW PROCESSLIST Syntax”
Section 13.7.5.28, “SHOW PROFILE Syntax”
Section 13.7.5.31, “SHOW SLAVE STATUS Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section B.5.2.7, “Too many connections
Section 16.1.3.1, “Checking Replication Status”
Section 4.5.2, “mysqladmin — Client for Administering a MySQL Server”
Section 8.10.2, “General Thread States”
Section 6.1.3, “Making MySQL Secure Against Attackers”
Section 17.5.4, “MySQL Server Usage for MySQL Cluster”
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.2.1, “Replication Implementation Details”
Section 16.3.6, “Switching Masters During Failover”
Section 16.4.4, “Troubleshooting Replication”

SHOW PROFILE

Section 13.7.5.28, “SHOW PROFILE Syntax”
Section 13.7.5.29, “SHOW PROFILES Syntax”
Section 8.10, “Examining Thread Information”
Section 8.10.2, “General Thread States”
Section 2.17.3, “MySQL Source-Configuration Options”
Section 5.1.4, “Server System Variables”
Section 19.7, “The INFORMATION_SCHEMA PROFILING Table”

SHOW PROFILES

Section 13.7.5.28, “SHOW PROFILE Syntax”
Section 13.7.5.29, “SHOW PROFILES Syntax”
Section 2.17.3, “MySQL Source-Configuration Options”
Section 5.1.4, “Server System Variables”
Section 19.7, “The INFORMATION_SCHEMA PROFILING Table”

SHOW SCHEMAS

Section 13.7.5.11, “SHOW DATABASES Syntax”

SHOW SLAVE HOSTS

Section 13.7.5.30, “SHOW SLAVE HOSTS Syntax”
Section 16.1.3.1, “Checking Replication Status”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 13.4.1, “SQL Statements for Controlling Master Servers”

SHOW SLAVE STATUS

Section 13.4.1.1, “PURGE BINARY LOGS Syntax”
Section 13.7.5.31, “SHOW SLAVE STATUS Syntax”
Section 13.4.2.7, “START SLAVE Syntax”
Section 16.1.3.1, “Checking Replication Status”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 16.4.5, “How to Report Replication Bugs or Problems”
Section 6.2.1, “Privileges Provided by MySQL”
Section 16.2.1, “Replication Implementation Details”
Section 8.10.6, “Replication Slave I/O Thread States”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 16.3.7, “Setting Up Replication Using SSL”
Section 16.4.1.20, “Slave Errors During Replication”
Section 16.2.2.2, “Slave Status Logs”
Section B.1, “Sources of Error Information”
Section 13.4.2, “SQL Statements for Controlling Slave Servers”
Section 16.4.4, “Troubleshooting Replication”

SHOW STATUS

Section 17.3.4.2, “mysqld Command Options for MySQL Cluster”
Section 13.2.5.2, “INSERT DELAYED Syntax”
Section 13.7.5.32, “SHOW STATUS Syntax”
Section 17.3.2.6, “Defining SQL and Other API Nodes in a MySQL Cluster”
Section 8.6.3.4, “Query Cache Status and Maintenance”
Section 16.4.1.15, “Replication and Temporary Tables”
Section 16.2.1, “Replication Implementation Details”
Section 16.4.1.22, “Replication Retries and Timeouts”
Section 5.1.6, “Server Status Variables”
Section 5.1.4, “Server System Variables”
Section 2.19.1.2, “Upgrading from MySQL 4.1 to 5.0”

SHOW TABLE STATUS

Section 14.2.3.3, “AUTO_INCREMENT Handling in InnoDB
Section 13.1.10, “CREATE TABLE Syntax”
Section 13.8.2, “EXPLAIN Syntax”
Section 13.7.5.5, “SHOW COLUMNS Syntax”
Section 13.7.5.33, “SHOW TABLE STATUS Syntax”
Section 14.2.3, “Creating and Using InnoDB Tables”
Section 4.6.16, “mysql_tableinfo — Generate Database Metadata”
Section 14.2.10.2, “File Space Management”
Section 14.7.2, “How to Use FEDERATED Tables”
Section 14.2.13, “Limits on InnoDB Tables”
Section 14.2.9.5, “Physical Row Structure”
Section 14.8, “The ARCHIVE Storage Engine”

SHOW TABLES

Chapter 19, INFORMATION_SCHEMA Tables
Section 13.7.5.33, “SHOW TABLE STATUS Syntax”
Section 13.7.5.34, “SHOW TABLES Syntax”
Section B.5.2.16, “Table 'tbl_name' doesn't exist
Section B.5.7.2, “TEMPORARY Table Problems”
Section 3.3.2, “Creating a Table”
Section 4.6.16, “mysql_tableinfo — Generate Database Metadata”
Section 19.18, “Extensions to SHOW Statements”
Section 9.2.2, “Identifier Case Sensitivity”

SHOW TRIGGERS

Section 13.7.5.35, “SHOW TRIGGERS Syntax”
Section 19.15, “The INFORMATION_SCHEMA TRIGGERS Table”
Section 18.3.2, “Trigger Metadata”

SHOW VARIABLES

Section 13.7.4, “SET Syntax”
Section 13.7.5.36, “SHOW VARIABLES Syntax”
Section 2.2, “Determining Your Current MySQL Version”
Section 5.3, “Running Multiple MySQL Instances on One Machine”
Section 5.1.4, “Server System Variables”
Section 5.1.5, “Using System Variables”

SHOW WARNINGS

Section 13.1.4, “ALTER TABLE Syntax”
Section 13.1.16, “DROP PROCEDURE and DROP FUNCTION Syntax”
Section 8.2.3, “EXPLAIN EXTENDED Output Format”
Section 8.2.2, “EXPLAIN Output Format”
Section 13.2.6, “LOAD DATA INFILE Syntax”
Section 1.8.3.1, “PRIMARY KEY and UNIQUE Index Constraints”
Section 13.7.5.14, “SHOW ERRORS Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”
Section 8.3.1.14, “Optimizing Subqueries with EXISTS Strategy”
Section 5.1.4, “Server System Variables”
Section B.1, “Sources of Error Information”

START SLAVE

Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 13.7.5.31, “SHOW SLAVE STATUS Syntax”
Section 13.4.2.7, “START SLAVE Syntax”
Section 13.4.2.8, “STOP SLAVE Syntax”
Section 16.1.3.2, “Pausing Replication on the Slave”
Section 16.3.4, “Replicating Different Databases to Different Slaves”
Section 16.2.1, “Replication Implementation Details”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 16.4.1.20, “Slave Errors During Replication”
Section 16.3.6, “Switching Masters During Failover”
Section 16.4.4, “Troubleshooting Replication”

START TRANSACTION

Section 13.6.1, “BEGIN ... END Compound-Statement Syntax”
Section 14.2.11, “InnoDB Error Handling”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 14.2.7.3, “SELECT ... FOR UPDATE and SELECT ... LOCK IN SHARE MODE Locking Reads”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 14.5.4, “Characteristics of BDB Tables”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 14.2.7.9, “How to Cope with Deadlocks”
Section 14.2.3.1, “How to Use Transactions in InnoDB with Different APIs”
Section 13.3.5.1, “Interaction of Table Locking and Transactions”
Section 13.3, “MySQL Transactional and Locking Statements”
Section D.1, “Restrictions on Stored Programs”
Section 5.1.4, “Server System Variables”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 14.2.7, “The InnoDB Transaction Model and Locking”
Section 18.3.1, “Trigger Syntax and Examples”
Section 13.3.7.2, “XA Transaction States”

START TRANSACTION WITH CONSISTENT SNAPSHOT

Section 14.2.7.2, “Consistent Nonlocking Reads”

STOP SLAVE

Section 13.4.2.1, “CHANGE MASTER TO Syntax”
Section 13.4.1.2, “RESET MASTER Syntax”
Section 13.4.2.5, “RESET SLAVE Syntax”
Section 13.4.2.7, “START SLAVE Syntax”
Section 13.4.2.8, “STOP SLAVE Syntax”
Section 16.1.3.1, “Checking Replication Status”
Section 16.1.1.9, “Introducing Additional Slaves to an Existing Replication Environment”
Section 16.1.3.2, “Pausing Replication on the Slave”
Section 16.3.6, “Switching Masters During Failover”

T

[index top]

TRUNCATE TABLE

Section 13.1.11, “CREATE TRIGGER Syntax”
Section 13.2.2, “DELETE Syntax”
Section 14.3.2, “MERGE Table Problems”
Section 13.1.21, “TRUNCATE TABLE Syntax”
Section 14.1.3.3, “Compressed Table Characteristics”
Section 17.4.6, “ndb_delete_all — Delete All Rows from an NDB Table”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 8.6.3.1, “How the Query Cache Operates”
Section 17.1.5.2, “Limits and Differences of MySQL Cluster from Standard MySQL Limits”
Section 17.1.5.3, “Limits Relating to Transaction Handling in MySQL Cluster”
Section 16.4.1.14, “Replication and MEMORY Tables”
Section 5.1.4, “Server System Variables”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 14.4, “The MEMORY (HEAP) Storage Engine”
Section 14.2.1.1, “Using Per-Table Tablespaces”
Section 1.4, “What Is New in MySQL 5.0”
Section 20.6.14.2, “What Results You Can Get from a Query”

U

[index top]

UNION

Section 13.1.10, “CREATE TABLE Syntax”
Section 13.1.12, “CREATE VIEW Syntax”
Section 8.2.2, “EXPLAIN Output Format”
Section 13.2.8, “SELECT Syntax”
Section 13.2.8.4, “UNION Syntax”
Section 20.6.5, “C API Data Structures”
Section 8.8.5, “How MySQL Uses Internal Temporary Tables”
Section 12.13, “Information Functions”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB
Section 11.2.5, “Numeric Type Attributes”
Section D.4, “Restrictions on Views”
Section 10.1.9.1, “Result Strings”
Section 3.6.7, “Searching on Two Keys”
Section 5.1.6, “Server Status Variables”
Section 13.2.9, “Subquery Syntax”
Section 14.3, “The MERGE Storage Engine”
Section 8.3.1.3.1, “The Range Access Method for Single-Part Indexes”
Section 18.4.3, “Updatable and Insertable Views”
Section 18.4.2, “View Processing Algorithms”
Section 18.4.1, “View Syntax”

UNION ALL

Section 13.2.8.4, “UNION Syntax”
Section 8.8.5, “How MySQL Uses Internal Temporary Tables”
Section 12.13, “Information Functions”
Section 18.4.3, “Updatable and Insertable Views”
Section 18.4.2, “View Processing Algorithms”

UNION DISTINCT

Section 13.2.8.4, “UNION Syntax”

UNLOCK TABLES

Section 13.7.6.2, “FLUSH Syntax”
Section 13.3.5, “LOCK TABLES and UNLOCK TABLES Syntax”
Section 13.3.1, “START TRANSACTION, COMMIT, and ROLLBACK Syntax”
Section 7.2, “Database Backup Methods”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 14.2.7.9, “How to Cope with Deadlocks”
Section 13.3.5.1, “Interaction of Table Locking and Transactions”
Section 14.2.13, “Limits on InnoDB Tables”
Section D.1, “Restrictions on Stored Programs”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 13.3.3, “Statements That Cause an Implicit Commit”
Section 8.9.1, “System Factors and Startup Parameter Tuning”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 1.8.2.3, “Transactions and Atomic Operations”

UPDATE

Section 4.5.1.1, “mysql Options”
Section 13.7.2.3, “CHECK TABLE Syntax”
Section 13.1.11, “CREATE TRIGGER Syntax”
Section 13.1.12, “CREATE VIEW Syntax”
Section 13.7.1.3, “GRANT Syntax”
Chapter 19, INFORMATION_SCHEMA Tables
Section 14.2.2, “InnoDB Startup Options and System Variables”
Section 13.2.5.3, “INSERT ... ON DUPLICATE KEY UPDATE Syntax”
Section 13.2.5.2, “INSERT DELAYED Syntax”
Section 13.2.5, “INSERT Syntax”
Section 13.2.8.2, “JOIN Syntax”
Section 13.7.6.3, “KILL Syntax”
Section 13.2.6, “LOAD DATA INFILE Syntax”
Section 20.6.7.1, “mysql_affected_rows()
Section 20.6.7.35, “mysql_info()
Section 20.6.7.37, “mysql_insert_id()
Section 20.6.7.48, “mysql_num_rows()
Section 20.6.7.49, “mysql_options()
Section 20.6.11.10, “mysql_stmt_execute()
Section 20.6.11.16, “mysql_stmt_insert_id()
Section 20.6.11.17, “mysql_stmt_num_rows()
Section 1.8.3.1, “PRIMARY KEY and UNIQUE Index Constraints”
Section 14.2.7.3, “SELECT ... FOR UPDATE and SELECT ... LOCK IN SHARE MODE Locking Reads”
Section 13.7.1.6, “SET PASSWORD Syntax”
Section 13.3.6, “SET TRANSACTION Syntax”
Section 13.7.5.37, “SHOW WARNINGS Syntax”
Section 1.8.2.2, “UPDATE
Section 13.2.10, “UPDATE Syntax”
Section 6.2.5, “Access Control, Stage 2: Request Verification”
Section 6.3.2, “Adding User Accounts”
Section 12.3.4, “Assignment Operators”
Section 16.1.2.4, “Binary Log Options and Variables”
Section 18.6, “Binary Logging of Stored Programs”
Section 20.6.6, “C API Function Overview”
Section 20.6.10, “C API Prepared Statement Function Overview”
Section 20.6.16, “C API Support for Multiple Statement Execution”
Section 6.2.7, “Causes of Access-Denied Errors”
Section 10.1.12, “Column Character Set Conversion”
Section 17.3.2.11, “Configuring MySQL Cluster Parameters for Local Checkpoints”
Section 1.8.3.3, “Constraints on Invalid Data”
Section 11.6, “Data Type Default Values”
Section 11.1.2, “Date and Time Type Overview”
Section 4.6.12, “mysql_explain_log — Use EXPLAIN on Statements in Query Log”
Section 14.2.5.2, “Forcing InnoDB Recovery”
Chapter 12, Functions and Operators
Section 8.10.2, “General Thread States”
Section 8.3.1.2, “How MySQL Optimizes WHERE Clauses”
Section 8.6.3.1, “How the Query Cache Operates”
Section 12.13, “Information Functions”
Section 8.7.1, “Internal Locking Methods”
Section B.5.8, “Known Issues in MySQL”
Section 14.7.3, “Limitations of the FEDERATED Storage Engine”
Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB
Section 12.14, “Miscellaneous Functions”
Section 8.1.1, “MySQL Design Limitations and Tradeoffs”
Section 1.8.1, “MySQL Extensions to Standard SQL”
Section 11.2.6, “Out-of-Range and Overflow Handling”
Section 6.2.2, “Privilege System Grant Tables”
Section 6.2.1, “Privileges Provided by MySQL”
Section B.5.5.2, “Problems Using DATE Columns”
Section 16.4.1.9, “Replication and LIMIT
Section 16.4.1.18, “Replication and the Query Optimizer”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section B.5.4.1.2, “Resetting the Root Password: Unix Systems”
Section B.5.4.1.1, “Resetting the Root Password: Windows Systems”
Section D.4, “Restrictions on Views”
Section 13.2.9.11, “Rewriting Subqueries as Joins”
Section 2.18.2, “Securing the Initial MySQL Accounts”
Section 3.3.4.1, “Selecting All Data”
Section 5.1.3, “Server Command Options”
Section 5.1.7, “Server SQL Modes”
Section 5.1.6, “Server Status Variables”
Section 5.1.4, “Server System Variables”
Section 16.4.1.20, “Slave Errors During Replication”
Section 8.3.2.1, “Speed of INSERT Statements”
Section 8.3.2.2, “Speed of UPDATE Statements”
Section 13.2.9.9, “Subquery Errors”
Section 13.2.9, “Subquery Syntax”
Section 8.7.2, “Table Locking Issues”
Section 13.3.5.3, “Table-Locking Restrictions and Conditions”
Section 10.1.7.6, “The _bin and binary Collations”
Section 14.8, “The ARCHIVE Storage Engine”
Section 14.10, “The BLACKHOLE Storage Engine”
Section 19.17, “The INFORMATION_SCHEMA VIEWS Table”
Section 14.3, “The MERGE Storage Engine”
Section 14.1, “The MyISAM Storage Engine”
Section 5.2.3, “The Binary Log”
Section 6.2, “The MySQL Access Privilege System”
Section 5.1.10, “The Shutdown Process”
Section 1.8.2.3, “Transactions and Atomic Operations”
Section 18.3.1, “Trigger Syntax and Examples”
Section 18.4.3, “Updatable and Insertable Views”
Section 13.1.10.2, “Using FOREIGN KEY Constraints”
Section 4.5.1.6.3, “Using the --safe-updates Option”
Section 20.6.14.2, “What Results You Can Get from a Query”
Section 6.2.6, “When Privilege Changes Take Effect”
Section 20.6.14.1, “Why mysql_store_result() Sometimes Returns NULL After mysql_query() Returns Success”

UPDATE ... ()

Section 14.2.7.2, “Consistent Nonlocking Reads”

UPDATE ... WHERE ...

Section 14.2.7.6, “Locks Set by Different SQL Statements in InnoDB

UPDATE IGNORE

Section 5.1.7, “Server SQL Modes”

USE

Section 4.5.1.1, “mysql Options”
Section 13.1.9, “CREATE PROCEDURE and CREATE FUNCTION Syntax”
Chapter 19, INFORMATION_SCHEMA Tables
Section 13.8.4, “USE Syntax”
Section 16.1.2.4, “Binary Log Options and Variables”
Section 7.4.5.2, “Copy a Database from one Server to Another”
Section 3.3.1, “Creating and Selecting a Database”
Section 3.3, “Creating and Using a Database”
Section 4.6.7, “mysqlbinlog — Utility for Processing Binary Log Files”
Section 4.5.4, “mysqldump — A Database Backup Program”
Section 7.4.1, “Dumping Data in SQL Format with mysqldump
Section 16.2.3.1, “Evaluation of Database-Level Replication and Binary Logging Options”
Section 7.4.2, “Reloading SQL-Format Backups”
Section 16.1.2.3, “Replication Slave Options and Variables”
Section 18.2.1, “Stored Routine Syntax”

USE db2

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

USE db_name

Section 4.5.1.1, “mysql Options”

USE test

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

W

[index top]

WHILE

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

X

[index top]

XA COMMIT

Section 5.1.4, “Server System Variables”
Section 13.3.7.2, “XA Transaction States”

XA END

Section D.5, “Restrictions on XA Transactions”
Section 13.3.7.1, “XA Transaction SQL Syntax”
Section 13.3.7.2, “XA Transaction States”

XA PREPARE

Section 13.3.7.2, “XA Transaction States”

XA RECOVER

Section 13.3.7.1, “XA Transaction SQL Syntax”
Section 13.3.7.2, “XA Transaction States”

XA ROLLBACK

Section 5.1.4, “Server System Variables”
Section 13.3.7.2, “XA Transaction States”

XA START

Section D.5, “Restrictions on XA Transactions”
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”