Including MySQL Cluster NDB 7.2 Reference Guide
Abstract
This is the MySQL™ Справочное Руководство. It documents MySQL
5.5 through 5.5.22, as well as MySQL
Cluster releases based on version 7.2 of
NDBCLUSTER
through
5.5.20-ndb-7.2.5.
MySQL 5.5 features. This manual describes features that are not included in every edition of MySQL 5.5; such features may not be included in the edition of MySQL 5.5 licensed to you. If you have any questions about the features included in your edition of MySQL 5.5, refer to your MySQL 5.5 license agreement or contact your Oracle sales representative.
Document generated on: 2012-02-18 (revision: 29199)
For legal information, see the Legal Notice.
Содержание
- Preface and Legal Notice
- 1. General Information
- 2. Installing and Upgrading MySQL
- 2.1. General Installation Guidance
- 2.2. Installing MySQL from Generic Binaries on Unix/Linux
- 2.3. Installing MySQL on Microsoft Windows
- 2.3.1. MySQL Installation Layout on Microsoft Windows
- 2.3.2. Choosing An Installation Package
- 2.3.3. Installing MySQL on Microsoft Windows Using MySQL Installer
- 2.3.4. Installing MySQL on Microsoft Windows Using an MSI Package
- 2.3.5. MySQL Server Instance Configuration Wizard
- 2.3.6. Installing MySQL on Microsoft Windows Using a
noinstall
Zip Archive - 2.3.7. Troubleshooting a MySQL Installation Under Windows
- 2.3.8. Upgrading MySQL on Windows
- 2.3.9. Windows Postinstallation Procedures
- 2.4. Installing MySQL on Mac OS X
- 2.5. Installing MySQL on Linux
- 2.6. Installing MySQL on Solaris and OpenSolaris
- 2.7. Installing MySQL on HP-UX
- 2.8. Installing MySQL on FreeBSD
- 2.9. Installing MySQL from Source
- 2.10. Postinstallation Setup and Testing
- 2.11. Upgrading or Downgrading MySQL
- 2.12. Environment Variables
- 2.13. Perl Installation Notes
- 3. Tutorial
- 3.1. Connecting to and Disconnecting from the Server
- 3.2. Entering Queries
- 3.3. Creating and Using a Database
- 3.4. Getting Information About Databases and Tables
- 3.5. Using mysql in Batch Mode
- 3.6. Examples of Common Queries
- 3.6.1. The Maximum Value for a Column
- 3.6.2. The Row Holding the Maximum of a Certain Column
- 3.6.3. Maximum of Column per Group
- 3.6.4. The Rows Holding the Group-wise Maximum of a Certain Column
- 3.6.5. Using User-Defined Variables
- 3.6.6. Using Foreign Keys
- 3.6.7. Searching on Two Keys
- 3.6.8. Calculating Visits Per Day
- 3.6.9. Using
AUTO_INCREMENT
- 3.7. Using MySQL with Apache
- 4. MySQL Programs
- 4.1. Overview of MySQL Programs
- 4.2. Using MySQL Programs
- 4.3. MySQL Server and Server-Startup Programs
- 4.4. MySQL Installation-Related Programs
- 4.4.1. comp_err — Compile MySQL Error Message File
- 4.4.2. mysqlbug — Generate Bug Report
- 4.4.3. mysql_install_db — Initialize MySQL Data Directory
- 4.4.4. mysql_plugin — Configure MySQL Server Plugins
- 4.4.5. mysql_secure_installation — Improve MySQL Installation Security
- 4.4.6. mysql_tzinfo_to_sql — Load the Time Zone Tables
- 4.4.7. mysql_upgrade — Check Tables for MySQL Upgrade
- 4.5. MySQL Client Programs
- 4.5.1. mysql — The MySQL Command-Line Tool
- 4.5.2. mysqladmin — Client for Administering a MySQL Server
- 4.5.3. mysqlcheck — A Table Maintenance Program
- 4.5.4. mysqldump — A Database Backup Program
- 4.5.5. mysqlimport — A Data Import Program
- 4.5.6. mysqlshow — Display Database, Table, and Column Information
- 4.5.7. mysqlslap — Load Emulation Client
- 4.6. MySQL Administrative and Utility Programs
- 4.6.1. innochecksum — Offline InnoDB File Checksum Utility
- 4.6.2. myisam_ftdump — Display Full-Text Index information
- 4.6.3. myisamchk — MyISAM Table-Maintenance Utility
- 4.6.4. myisamlog — Display MyISAM Log File Contents
- 4.6.5. myisampack — Generate Compressed, Read-Only MyISAM Tables
- 4.6.6. mysqlaccess — Client for Checking Access Privileges
- 4.6.7. mysqlbinlog — Utility for Processing Binary Log Files
- 4.6.8. mysqldumpslow — Summarize Slow Query Log Files
- 4.6.9. mysqlhotcopy — A Database Backup Program
- 4.6.10. mysql_convert_table_format — Convert Tables to Use a Given Storage Engine
- 4.6.11. mysql_find_rows — Extract SQL Statements from Files
- 4.6.12. mysql_fix_extensions — Normalize Table File Name Extensions
- 4.6.13. mysql_setpermission — Interactively Set Permissions in Grant Tables
- 4.6.14. mysql_waitpid — Kill Process and Wait for Its Termination
- 4.6.15. mysql_zap — Kill Processes That Match a Pattern
- 4.7. MySQL Program Development Utilities
- 4.8. Miscellaneous Programs
- 5. MySQL Server Administration
- 5.1. The MySQL Server
- 5.2. MySQL Server Logs
- 5.3. General Security Issues
- 5.4. The MySQL Access Privilege System
- 5.5. MySQL User Account Management
- 5.5.1. User Names and Passwords
- 5.5.2. Adding User Accounts
- 5.5.3. Removing User Accounts
- 5.5.4. Setting Account Resource Limits
- 5.5.5. Assigning Account Passwords
- 5.5.6. Pluggable Authentication
- 5.5.7. Proxy Users
- 5.5.8. Using SSL for Secure Connections
- 5.5.9. Connecting to MySQL Remotely from Windows with SSH
- 5.5.10. Auditing MySQL Account Activity
- 5.6. Running Multiple MySQL Instances on One Machine
- 5.7. Tracing mysqld Using DTrace
- 6. Backup and Recovery
- 7. Optimization
- 7.1. Optimization Overview
- 7.2. Optimizing SQL Statements
- 7.3. Optimization and Indexes
- 7.4. Optimizing Database Structure
- 7.5. Optimizing for
InnoDB
Tables - 7.5.1. Optimizing Storage Layout for
InnoDB
Tables - 7.5.2. Optimizing
InnoDB
Transaction Management - 7.5.3. Optimizing
InnoDB
Logging - 7.5.4. Bulk Data Loading for
InnoDB
Tables - 7.5.5. Optimizing
InnoDB
Queries - 7.5.6. Optimizing
InnoDB
DDL Operations - 7.5.7. Optimizing
InnoDB
Disk I/O - 7.5.8. Optimizing
InnoDB
Configuration Variables - 7.5.9. Optimizing
InnoDB
for Systems with Many Tables
- 7.5.1. Optimizing Storage Layout for
- 7.6. Optimizing for
MyISAM
Tables - 7.7. Optimizing for
MEMORY
Tables - 7.8. Understanding the Query Execution Plan
- 7.9. Buffering and Caching
- 7.10. Optimizing Locking Operations
- 7.11. Optimizing the MySQL Server
- 7.12. Measuring Performance (Benchmarking)
- 7.13. Internal Details of MySQL Optimizations
- 7.13.1. Range Optimization
- 7.13.2. Index Merge Optimization
- 7.13.3. Engine Condition Pushdown Optimization
- 7.13.4.
IS NULL
Optimization - 7.13.5.
LEFT JOIN
andRIGHT JOIN
Optimization - 7.13.6. Nested-Loop Join Algorithms
- 7.13.7. Nested Join Optimization
- 7.13.8. Outer Join Simplification
- 7.13.9.
ORDER BY
Optimization - 7.13.10.
GROUP BY
Optimization - 7.13.11.
DISTINCT
Optimization - 7.13.12. Optimizing
IN
/=ANY
Subqueries
- 8. Language Structure
- 9. Globalization
- 9.1. Character Set Support
- 9.1.1. Character Sets and Collations in General
- 9.1.2. Character Sets and Collations in MySQL
- 9.1.3. Specifying Character Sets and Collations
- 9.1.4. Connection Character Sets and Collations
- 9.1.5. Configuring the Character Set and Collation for Applications
- 9.1.6. Character Set for Error Messages
- 9.1.7. Collation Issues
- 9.1.8. String Repertoire
- 9.1.9. Operations Affected by Character Set Support
- 9.1.10. Unicode Support
- 9.1.11. Upgrading from Previous to Current Unicode Support
- 9.1.12. UTF-8 for Metadata
- 9.1.13. Column Character Set Conversion
- 9.1.14. Character Sets and Collations That MySQL Supports
- 9.2. Setting the Error Message Language
- 9.3. Adding a Character Set
- 9.4. Adding a Collation to a Character Set
- 9.5. Character Set Configuration
- 9.6. MySQL Server Time Zone Support
- 9.7. MySQL Server Locale Support
- 10. Data Types
- 11. Functions and Operators
- 11.1. Function and Operator Reference
- 11.2. Type Conversion in Expression Evaluation
- 11.3. Operators
- 11.4. Control Flow Functions
- 11.5. String Functions
- 11.6. Numeric Functions and Operators
- 11.7. Date and Time Functions
- 11.8. What Calendar Is Used By MySQL?
- 11.9. Full-Text Search Functions
- 11.10. Cast Functions and Operators
- 11.11. XML Functions
- 11.12. Bit Functions
- 11.13. Encryption and Compression Functions
- 11.14. Information Functions
- 11.15. Miscellaneous Functions
- 11.16. Functions and Modifiers for Use with
GROUP BY
Clauses - 11.17. Spatial Extensions
- 11.18. Precision Math
- 12. SQL Statement Синтаксис
- 12.1. Data Definition Statements
- 12.1.1.
ALTER DATABASE
Синтаксис - 12.1.2.
ALTER EVENT
Синтаксис - 12.1.3.
ALTER LOGFILE GROUP
Синтаксис - 12.1.4.
ALTER FUNCTION
Синтаксис - 12.1.5.
ALTER PROCEDURE
Синтаксис - 12.1.6.
ALTER SERVER
Синтаксис - 12.1.7.
ALTER TABLE
Синтаксис - 12.1.8.
ALTER TABLESPACE
Синтаксис - 12.1.9.
ALTER VIEW
Синтаксис - 12.1.10.
CREATE DATABASE
Синтаксис - 12.1.11.
CREATE EVENT
Синтаксис - 12.1.12.
CREATE FUNCTION
Синтаксис - 12.1.13.
CREATE INDEX
Синтаксис - 12.1.14.
CREATE LOGFILE GROUP
Синтаксис - 12.1.15.
CREATE PROCEDURE
andCREATE FUNCTION
Синтаксис - 12.1.16.
CREATE SERVER
Синтаксис - 12.1.17.
CREATE TABLE
Синтаксис - 12.1.18.
CREATE TABLESPACE
Синтаксис - 12.1.19.
CREATE TRIGGER
Синтаксис - 12.1.20.
CREATE VIEW
Синтаксис - 12.1.21.
DROP DATABASE
Синтаксис - 12.1.22.
DROP EVENT
Синтаксис - 12.1.23.
DROP FUNCTION
Синтаксис - 12.1.24.
DROP INDEX
Синтаксис - 12.1.25.
DROP LOGFILE GROUP
Синтаксис - 12.1.26.
DROP PROCEDURE
andDROP FUNCTION
Синтаксис - 12.1.27.
DROP SERVER
Синтаксис - 12.1.28.
DROP TABLE
Синтаксис - 12.1.29.
DROP TABLESPACE
Синтаксис - 12.1.30.
DROP TRIGGER
Синтаксис - 12.1.31.
DROP VIEW
Синтаксис - 12.1.32.
RENAME TABLE
Синтаксис - 12.1.33.
TRUNCATE TABLE
Синтаксис
- 12.1.1.
- 12.2. Data Manipulation Statements
- 12.3. MySQL Transactional and Locking Statements
- 12.3.1.
START TRANSACTION
,COMMIT
, andROLLBACK
Синтаксис - 12.3.2. Statements That Cannot Be Rolled Back
- 12.3.3. Statements That Cause an Implicit Commit
- 12.3.4.
SAVEPOINT
andROLLBACK TO SAVEPOINT
Синтаксис - 12.3.5.
LOCK TABLES
andUNLOCK TABLES
Синтаксис - 12.3.6.
SET TRANSACTION
Синтаксис - 12.3.7. XA Transactions
- 12.3.1.
- 12.4. Replication Statements
- 12.5. SQL Синтаксис for Prepared Statements
- 12.6. MySQL Compound-Statement Синтаксис
- 12.7. Database Administration Statements
- 12.8. MySQL Utility Statements
- 13. Storage Engines
- 13.1. Setting the Storage Engine
- 13.2. Overview of MySQL Storage Engine Architecture
- 13.3. The
InnoDB
Storage Engine - 13.3.1. InnoDB as the Default MySQL Storage Engine
- 13.3.2. Configuring
InnoDB
- 13.3.3. Using Per-Table Tablespaces
- 13.3.4.
InnoDB
Startup Options and System Variables - 13.3.5. Creating and Using
InnoDB
Tables - 13.3.6. Adding, Removing, or Resizing
InnoDB
Data and Log Files - 13.3.7. Backing Up and Recovering an
InnoDB
Database - 13.3.8. Moving an
InnoDB
Database to Another Machine - 13.3.9. The
InnoDB
Transaction Model and Locking - 13.3.10.
InnoDB
Multi-Versioning - 13.3.11.
InnoDB
Table and Index Structures - 13.3.12.
InnoDB
Disk I/O and File Space Management - 13.3.13.
InnoDB
Error Handling - 13.3.14.
InnoDB
Performance Tuning and Troubleshooting - 13.3.15. Limits on
InnoDB
Tables
- 13.4. New Features of InnoDB 1.1
- 13.4.1. Introduction to InnoDB 1.1
- 13.4.2. Fast Index Creation in the InnoDB Storage Engine
- 13.4.3. InnoDB Data Compression
- 13.4.4. InnoDB File-Format Management
- 13.4.5. How InnoDB Stores Variable-Length Columns
- 13.4.6. InnoDB
INFORMATION_SCHEMA
tables - 13.4.7. InnoDB Performance and Scalability Enhancements
- 13.4.8. Changes for Flexibility, Ease of Use and Reliability
- 13.4.9. Installing the InnoDB Storage Engine
- 13.4.10. Upgrading the InnoDB Storage Engine
- 13.4.11. Downgrading the InnoDB Storage Engine
- 13.4.12. InnoDB Storage Engine Change History
- 13.4.13. Third-Party Software
- 13.4.14. List of Parameters Changed in InnoDB 1.1 and InnoDB Plugin 1.0
- 13.5. The
MyISAM
Storage Engine - 13.6. The
MEMORY
Storage Engine - 13.7. The
CSV
Storage Engine - 13.8. The
ARCHIVE
Storage Engine - 13.9. The
BLACKHOLE
Storage Engine - 13.10. The
MERGE
Storage Engine - 13.11. The
FEDERATED
Storage Engine - 13.12. The
EXAMPLE
Storage Engine - 13.13. Other Storage Engines
- 14. High Availability and Scalability
- 15. Replication
- 15.1. Replication Configuration
- 15.2. Replication Implementation
- 15.3. Replication Solutions
- 15.3.1. Using Replication for Backups
- 15.3.2. Using Replication with Different Master and Slave Storage Engines
- 15.3.3. Using Replication for Scale-Out
- 15.3.4. Replicating Different Databases to Different Slaves
- 15.3.5. Improving Replication Performance
- 15.3.6. Switching Masters During Failover
- 15.3.7. Setting Up Replication Using SSL
- 15.3.8. Semisynchronous Replication
- 15.4. Replication Notes and Tips
- 16. MySQL Cluster NDB 7.2
- 16.1. MySQL Cluster Overview
- 16.1.1. MySQL Cluster Core Concepts
- 16.1.2. MySQL Cluster Nodes, Node Groups, Replicas, and Partitions
- 16.1.3. MySQL Cluster Hardware, Software, and Networking Requirements
- 16.1.4. MySQL Cluster Development History
- 16.1.5. MySQL Server using
InnoDB
Compared with MySQL Cluster - 16.1.6. Known Limitations of MySQL Cluster
- 16.2. MySQL Cluster Installation
- 16.2.1. Installing MySQL Cluster on Linux
- 16.2.2. Installing MySQL Cluster on Windows
- 16.2.3. Initial Configuration of MySQL Cluster
- 16.2.4. Initial Startup of MySQL Cluster
- 16.2.5. MySQL Cluster Пример with Tables and Data
- 16.2.6. Safe Shutdown and Restart of MySQL Cluster
- 16.2.7. Upgrading and Downgrading MySQL Cluster NDB 7.2
- 16.3. MySQL Cluster Configuration
- 16.4. MySQL Cluster Programs
- 16.4.1. MySQL Server Usage for MySQL Cluster
- 16.4.2. ndbd — The MySQL Cluster Data Node Daemon
- 16.4.3. ndbmtd — The MySQL Cluster Data Node Daemon (Multi-Threaded)
- 16.4.4. ndb_mgmd — The MySQL Cluster Management Server Daemon
- 16.4.5. ndb_mgm — The MySQL Cluster Management Client
- 16.4.6. ndb_config — Extract MySQL Cluster Configuration Information
- 16.4.7. ndb_cpcd — Automate Testing for NDB Development
- 16.4.8. ndb_delete_all — Delete All Rows from an NDB Table
- 16.4.9. ndb_desc — Describe NDB Tables
- 16.4.10. ndb_drop_index — Drop Index from an NDB Table
- 16.4.11. ndb_drop_table — Drop an NDB Table
- 16.4.12. ndb_error_reporter — NDB Error-Reporting Utility
- 16.4.13. ndb_print_backup_file — Print NDB Backup File Contents
- 16.4.14. ndb_print_schema_file — Print NDB Schema File Contents
- 16.4.15. ndb_print_sys_file — Print NDB System File Contents
- 16.4.16. ndbd_redo_log_reader — Check and Print Content of Cluster Redo Log
- 16.4.17. ndb_restore — Restore a MySQL Cluster Backup
- 16.4.18. ndb_select_all — Print Rows from an NDB Table
- 16.4.19. ndb_select_count — Print Row Counts for NDB Tables
- 16.4.20. ndb_show_tables — Display List of NDB Tables
- 16.4.21. ndb_size.pl — NDBCLUSTER Size Requirement Estimator
- 16.4.22. ndb_waiter — Wait for MySQL Cluster to Reach a Given Status
- 16.4.23. Options Common to MySQL Cluster Programs
- 16.5. Management of MySQL Cluster
- 16.5.1. Summary of MySQL Cluster Start Phases
- 16.5.2. Commands in the MySQL Cluster Management Client
- 16.5.3. Online Backup of MySQL Cluster
- 16.5.4. Performing a Rolling Restart of a MySQL Cluster
- 16.5.5. Event Reports Generated in MySQL Cluster
- 16.5.6. MySQL Cluster Log Messages
- 16.5.7. MySQL Cluster Single User Mode
- 16.5.8. Quick Reference: MySQL Cluster SQL Statements
- 16.5.9. The
ndbinfo
MySQL Cluster Information Database - 16.5.10. MySQL Cluster Security Issues
- 16.5.11. MySQL Cluster Disk Data Tables
- 16.5.12. Adding MySQL Cluster Data Nodes Online
- 16.5.13. Distributed MySQL Privileges for MySQL Cluster
- 16.5.14. NDB API Statistics Counters and Variables
- 16.5.15. ndbmemcache
- 16.6. MySQL Cluster Replication
- 16.6.1. MySQL Cluster Replication: Abbreviations and Symbols
- 16.6.2. General Requirements for MySQL Cluster Replication
- 16.6.3. Known Issues in MySQL Cluster Replication
- 16.6.4. MySQL Cluster Replication Schema and Tables
- 16.6.5. Preparing the MySQL Cluster for Replication
- 16.6.6. Starting MySQL Cluster Replication (Single Replication Channel)
- 16.6.7. Using Two Replication Channels for MySQL Cluster Replication
- 16.6.8. Implementing Failover with MySQL Cluster Replication
- 16.6.9. MySQL Cluster Backups With MySQL Cluster Replication
- 16.6.10. MySQL Cluster Replication: Multi-Master and Circular Replication
- 16.6.11. MySQL Cluster Replication Conflict Resolution
- 16.7. Changes in MySQL Cluster
- 17. Partitioning
- 18. Stored Programs and Views
- 19.
INFORMATION_SCHEMA
Tables - 19.1. The
INFORMATION_SCHEMA CHARACTER_SETS
Table - 19.2. The
INFORMATION_SCHEMA COLLATIONS
Table - 19.3. The
INFORMATION_SCHEMA COLLATION_CHARACTER_SET_APPLICABILITY
Table - 19.4. The
INFORMATION_SCHEMA COLUMNS
Table - 19.5. The
INFORMATION_SCHEMA COLUMN_PRIVILEGES
Table - 19.6. The
INFORMATION_SCHEMA ENGINES
Table - 19.7. The
INFORMATION_SCHEMA EVENTS
Table - 19.8. The
INFORMATION_SCHEMA FILES
Table - 19.9. The
INFORMATION_SCHEMA GLOBAL_STATUS
andSESSION_STATUS
Tables - 19.10. The
INFORMATION_SCHEMA GLOBAL_VARIABLES
andSESSION_VARIABLES
Tables - 19.11. The
INFORMATION_SCHEMA KEY_COLUMN_USAGE
Table - 19.12. The
INFORMATION_SCHEMA PARAMETERS
Table - 19.13. The
INFORMATION_SCHEMA PARTITIONS
Table - 19.14. The
INFORMATION_SCHEMA PLUGINS
Table - 19.15. The
INFORMATION_SCHEMA PROCESSLIST
Table - 19.16. The
INFORMATION_SCHEMA PROFILING
Table - 19.17. The
INFORMATION_SCHEMA REFERENTIAL_CONSTRAINTS
Table - 19.18. The
INFORMATION_SCHEMA ROUTINES
Table - 19.19. The
INFORMATION_SCHEMA SCHEMATA
Table - 19.20. The
INFORMATION_SCHEMA SCHEMA_PRIVILEGES
Table - 19.21. The
INFORMATION_SCHEMA STATISTICS
Table - 19.22. The
INFORMATION_SCHEMA TABLES
Table - 19.23. The
INFORMATION_SCHEMA TABLESPACES
Table - 19.24. The
INFORMATION_SCHEMA TABLE_CONSTRAINTS
Table - 19.25. The
INFORMATION_SCHEMA TABLE_PRIVILEGES
Table - 19.26. The
INFORMATION_SCHEMA TRIGGERS
Table - 19.27. The
INFORMATION_SCHEMA USER_PRIVILEGES
Table - 19.28. The
INFORMATION_SCHEMA VIEWS
Table - 19.29.
INFORMATION_SCHEMA
Tables forInnoDB
- 19.30. Thread Pool
INFORMATION_SCHEMA
Tables - 19.31. Other
INFORMATION_SCHEMA
Tables - 19.32. Extensions to
SHOW
Statements
- 19.1. The
- 20. MySQL Performance Schema
- 20.1. Performance Schema Quick Start
- 20.2. Performance Schema Configuration
- 20.3. Performance Schema Queries
- 20.4. Performance Schema Instrument Naming Conventions
- 20.5. Performance Schema Status Monitoring
- 20.6. Performance Schema General Table Characteristics
- 20.7. Performance Schema Table Описаниеs
- 20.8. Performance Schema System Variables
- 20.9. Performance Schema Status Variables
- 20.10. Performance Schema and Plugins
- 20.11. Using the Performance Schema to Diagnose Problems
- 21. Connectors and APIs
- 21.1. MySQL Connector/ODBC
- 21.2. MySQL Connector/Net
- 21.2.1. Connector/Net Versions
- 21.2.2. Connector/Net Installation
- 21.2.3. Connector/Net Visual Studio Integration
- 21.2.4. Connector/Net Tutorials
- 21.2.5. Connector/Net Programming
- 21.2.6. Connector/Net Connection String Options Reference
- 21.2.7. Connector/Net API Reference
- 21.2.8. Connector/Net Support
- 21.2.9. Connector/Net FAQ
- 21.3. MySQL Connector/J
- 21.3.1. Overview of MySQL Connector/J
- 21.3.2. Connector/J Versions
- 21.3.3. Connector/J Installation
- 21.3.4. Connector/J Examples
- 21.3.5. Connector/J (JDBC) Reference
- 21.3.6. JDBC Concepts
- 21.3.7. J2EE Concepts
- 21.3.8. Using Connector/J with Tomcat
- 21.3.9. Using Connector/J with JBoss
- 21.3.10. Using Connector/J with Spring
- 21.3.11. Using Connector/J with GlassFish
- 21.3.12. Troubleshooting Connector/J
- 21.3.13. Connector/J Support
- 21.4. MySQL Connector/MXJ
- 21.5. MySQL Connector/C++
- 21.5.1. Installing the MySQL Connector/C++ Binary
- 21.5.2. Installing MySQL Connector/C++ from Source
- 21.5.3. MySQL Connector/C++ Building Windows Applications with Microsoft Visual Studio
- 21.5.4. MySQL Connector/C++ Building Linux Applications with NetBeans
- 21.5.5. MySQL Connector/C++ Getting Started: Usage Examples
- 21.5.6. MySQL Connector/C++ Tutorials
- 21.5.7. MySQL Connector/C++ Debug Tracing
- 21.5.8. MySQL Connector/C++ Usage Notes
- 21.5.9. MySQL Connector/C++ Known Bugs and Issues
- 21.5.10. MySQL Connector/C++ Feature requests
- 21.5.11. MySQL Connector/C++ Support
- 21.5.12. MySQL Connector/C++ FAQ
- 21.6. MySQL Connector/C
- 21.7. MySQL Connector/OpenOffice.org
- 21.8. libmysqld, the Embedded MySQL Server Library
- 21.9. MySQL C API
- 21.9.1. C API Data Structures
- 21.9.2. C API Function Overview
- 21.9.3. C API Function Описаниеs
- 21.9.4. C API Prepared Statements
- 21.9.5. C API Prepared Statement Data Structures
- 21.9.6. C API Prepared Statement Function Overview
- 21.9.7. C API Prepared Statement Function Описаниеs
- 21.9.8. C API Threaded Function Описаниеs
- 21.9.9. C API Embedded Server Function Описаниеs
- 21.9.10. C API Client Plugin Functions
- 21.9.11. Common Questions and Problems When Using the C API
- 21.9.12. Controlling Automatic Reconnection Behavior
- 21.9.13. C API Support for Multiple Statement Execution
- 21.9.14. C API Prepared Statement Problems
- 21.9.15. C API Prepared Statement Handling of Date and Time Values
- 21.9.16. C API Support for Prepared
CALL
Statements - 21.9.17. Building Client Programs
- 21.10. MySQL PHP API
- 21.11. MySQL Perl API
- 21.12. MySQL Python API
- 21.13. MySQL Ruby APIs
- 21.14. MySQL Tcl API
- 21.15. MySQL Eiffel Wrapper
- 22. Extending MySQL
- 23. MySQL Enterprise Monitor
- 24. MySQL Enterprise Backup
- 25. MySQL Workbench
- A. Licenses for Third-Party Components
- A.1. Ant-Contrib License
- A.2. ANTLR 3.3 License
- A.3. Boost Library License
- A.4.
dtoa.c
License - A.5. Editline Library (
libedit
) License - A.6.
FindGTest.cmake
License - A.7. Fred Fish's Dbug Library License
- A.8.
getarg
License - A.9. GLib License (for MySQL Proxy)
- A.10. GNU General Public License Version 2.0, June 1991
- A.11. GNU Lesser General Public License Version 2.1, February 1999
- A.12. GNU Libtool License
- A.13. GNU Readline License
- A.14. Google Controlling Master Thread I/O Rate Patch License
- A.15. Google Perftools (TCMalloc utility) License
- A.16. Google SMP Patch License
- A.17.
lib_sql.cc
License - A.18.
libevent
License - A.19. Libiconv License
- A.20. Linux-PAM License
- A.21.
LPeg
Library License - A.22. Lua (liblua) License
- A.23.
LuaFileSystem
Library License - A.24. md5 (Message-Digest Algorithm 5) License
- A.25. nt_servc (Windows NT Service class library) License
- A.26. OpenPAM License
- A.27. PCRE License
- A.28. Percona Multiple I/O Threads Patch License
- A.29. RegEX-Spencer Library License
- A.30. RFC 3174 - US Secure Hash Algorithm 1 (SHA1) License
- A.31. Richard A. O'Keefe String Library License
- A.32. SHA-1 in C License
- A.33. Simple Logging Facade for Java (SLF4J) License
- A.34.
zlib
License - A.35. ZLIB.NET License
- B. MySQL 5.5 Frequently Asked Questions
- B.1. MySQL 5.5 FAQ: General
- B.2. MySQL 5.5 FAQ: Storage Engines
- B.3. MySQL 5.5 FAQ: Server SQL Mode
- B.4. MySQL 5.5 FAQ: Stored Procedures and Functions
- B.5. MySQL 5.5 FAQ: Triggers
- B.6. MySQL 5.5 FAQ: Views
- B.7. MySQL 5.5 FAQ:
INFORMATION_SCHEMA
- B.8. MySQL 5.5 FAQ: Migration
- B.9. MySQL 5.5 FAQ: Security
- B.10. MySQL FAQ: MySQL 5.5 and MySQL Cluster
- B.11. MySQL 5.5 FAQ: MySQL Chinese, Japanese, and Korean Character Sets
- B.12. MySQL 5.5 FAQ: Connectors & APIs
- B.13. MySQL 5.5 FAQ: Replication
- B.14. MySQL 5.5 FAQ: MySQL, DRBD, and Heartbeat
- B.14.1. Distributed Replicated Block Device (DRBD)
- B.14.2. Linux Heartbeat
- B.14.3. DRBD Architecture
- B.14.4. DRBD and MySQL Replication
- B.14.5. DRBD and File Systems
- B.14.6. DRBD and LVM
- B.14.7. DRBD and Virtualization
- B.14.8. DRBD and Security
- B.14.9. DRBD and System Requirements
- B.14.10. DRBD and Support and Consulting
- C. Ошибки, Error Codes, and Common Problems
- D. MySQL Change History
- D.1. Changes in Release 5.5.x (Production)
- D.1.1. Changes in MySQL 5.5.22 (Not yet released)
- D.1.2. Changes in MySQL 5.5.21 (17 February 2012)
- D.1.3. Changes in MySQL 5.5.20 (10 January 2012)
- D.1.4. Changes in MySQL 5.5.19 (08 December 2011)
- D.1.5. Changes in MySQL 5.5.18 (16 November 2011)
- D.1.6. Changes in MySQL 5.5.17 (19 October 2011)
- D.1.7. Changes in MySQL 5.5.16 (15 September 2011)
- D.1.8. Changes in MySQL 5.5.15 (28 July 2011)
- D.1.9. Changes in MySQL 5.5.14 (05 July 2011)
- D.1.10. Changes in MySQL 5.5.13 (31 May 2011)
- D.1.11. Changes in MySQL 5.5.12 (05 May 2011)
- D.1.12. Changes in MySQL 5.5.11 (07 April 2011)
- D.1.13. Changes in MySQL 5.5.10 (15 March 2011)
- D.1.14. Changes in MySQL 5.5.9 (07 February 2011)
- D.1.15. Changes in MySQL 5.5.8 (03 December 2010, General Availability)
- D.1.16. Changes in MySQL 5.5.7 (14 October 2010)
- D.1.17. Changes in MySQL 5.5.6 (13 September 2010, Release Candidate)
- D.1.18. Changes in MySQL 5.5.5 (06 July 2010)
- D.1.19. Changes in MySQL 5.5.4 (09 April 2010)
- D.1.20. Changes in MySQL 5.5.3 (24 March 2010, Milestone 3)
- D.1.21. Changes in MySQL 5.5.2 (12 February 2010)
- D.1.22. Changes in MySQL 5.5.1 (04 January 2010)
- D.1.23. Changes in MySQL 5.5.0 (07 December 2009, Milestone 2)
- D.2. MySQL Connector/ODBC (MyODBC) Change History
- D.3. MySQL Connector/Net Change History
- D.3.1. Changes in MySQL Connector/Net Version 6.5.x
- D.3.2. Changes in MySQL Connector/Net Version 6.4.x
- D.3.3. Changes in MySQL Connector/Net Version 6.3.x
- D.3.4. Changes in MySQL Connector/Net Version 6.2.x
- D.3.5. Changes in MySQL Connector/Net Version 6.1.x
- D.3.6. Changes in MySQL Connector/Net Version 6.0.x
- D.3.7. Changes in MySQL Connector/Net Version 5.3.x
- D.3.8. Changes in MySQL Connector/Net Version 5.2.x
- D.3.9. Changes in MySQL Connector/Net Version 5.1.x
- D.3.10. Changes in MySQL Connector/Net Version 5.0.x
- D.3.11. Changes in MySQL Connector/Net Version 1.0.x
- D.3.12. Changes in MySQL Connector/Net Version 0.9.0 (30 August 2004)
- D.3.13. Changes in MySQL Connector/Net Version 0.76
- D.3.14. Changes in MySQL Connector/Net Version 0.75
- D.3.15. Changes in MySQL Connector/Net Version 0.74
- D.3.16. Changes in MySQL Connector/Net Version 0.71
- D.3.17. Changes in MySQL Connector/Net Version 0.70
- D.3.18. Changes in MySQL Connector/Net Version 0.68
- D.3.19. Changes in MySQL Connector/Net Version 0.65
- D.3.20. Changes in MySQL Connector/Net Version 0.60
- D.3.21. Changes in MySQL Connector/Net Version 0.50
- D.4. MySQL Visual Studio Plugin Change History
- D.5. MySQL Connector/J Change History
- D.6. MySQL Connector/MXJ Change History
- D.6.1. Changes in MySQL Connector/MXJ 5.0.12 (07 July 2011)
- D.6.2. Changes in MySQL Connector/MXJ 5.0.11 (24 November 2009)
- D.6.3. Changes in MySQL Connector/MXJ 5.0.10 (Not released)
- D.6.4. Changes in MySQL Connector/MXJ 5.0.9 (19 August 2008)
- D.6.5. Changes in MySQL Connector/MXJ 5.0.8 (06 August 2007)
- D.6.6. Changes in MySQL Connector/MXJ 5.0.7 (27 May 2007)
- D.6.7. Changes in MySQL Connector/MXJ 5.0.6 (04 May 2007)
- D.6.8. Changes in MySQL Connector/MXJ 5.0.5 (14 March 2007)
- D.6.9. Changes in MySQL Connector/MXJ 5.0.4 (28 January 2007)
- D.6.10. Changes in MySQL Connector/MXJ 5.0.3 (24 June 2006)
- D.6.11. Changes in MySQL Connector/MXJ 5.0.2 (15 June 2006)
- D.6.12. Changes in MySQL Connector/MXJ 5.0.1 (Not released)
- D.6.13. Changes in MySQL Connector/MXJ 5.0.0 (09 December 2005)
- D.7. MySQL Connector/C++ Change History
- D.8. MySQL Proxy Change History
- D.8.1. Changes in MySQL Proxy 0.8.2 (18 August 2011)
- D.8.2. Changes in MySQL Proxy 0.8.1 (13 September 2010)
- D.8.3. Changes in MySQL Proxy 0.8.0 (21 January 2010)
- D.8.4. Changes in MySQL Proxy 0.7.2 (30 June 2009)
- D.8.5. Changes in MySQL Proxy 0.7.1 (15 May 2009)
- D.8.6. Changes in MySQL Proxy 0.7.0 (Not Released)
- D.8.7. Changes in MySQL Proxy 0.6.1 (06 February 2008)
- D.8.8. Changes in MySQL Proxy 0.6.0 (11 September 2007)
- D.8.9. Changes in MySQL Proxy 0.5.1 (30 June 2007)
- D.8.10. Changes in MySQL Proxy 0.5.0 (19 June 2007)
- E. Restrictions and Limits
- E.1. Restrictions on Stored Programs
- E.2. Restrictions on Condition Handling
- E.3. Restrictions on Server-Side Cursors
- E.4. Restrictions on Subqueries
- E.5. Restrictions on Views
- E.6. Restrictions on XA Transactions
- E.7. Restrictions on Character Sets
- E.8. Restrictions on Performance Schema
- E.9. Restrictions on Pluggable Authentication
- E.10. Limits in MySQL
- Index
- Standard Index
- C Function Index
- Command Index
- Function Index
INFORMATION_SCHEMA
Index- Transaction Isolation Level Index
JOIN
Types Index- Operator Index
- Option Index
- Privileges Index
- SQL Modes Index
- Status Variable Index
- Statement/Syntax Index
- System Variable Index
List of Figures
- 2.1. MySQL Installer - Welcome Screen
- 2.2. MySQL Installer - License Agreement
- 2.3. MySQL Installer - Find latest products
- 2.4. MySQL Installer - Choose Setup Type
- 2.5. MySQL Installer - Check Requirements
- 2.6. MySQL Installer - Installation Progress
- 2.7. MySQL Installer - Installation Progress status
- 2.8. MySQL Installer - Configuration Overview
- 2.9. MySQL Installer - MySQL Server Configuration: Choose a platform
- 2.10. MySQL Installer - MySQL Server Configuration: Basic settings
- 2.11. MySQL Installer - Installation Complete
- 2.12. MySQL Installer - Maintenance Screen
- 2.13. Installation Workflow for Windows using MSI Installer
- 5.1. The MySQL Architecture Using Pluggable Storage Engines
- 13.1. MySQL Architecture with Pluggable Storage Engines
- 13.2.
FEDERATED
Table Structure - 14.1. Tradeoffs: Cost and Complexity versus Availability
- 14.2. High Availability Architectures for Common Application Types
- 14.3. DRBD Architecture Overview
- 14.4. DRBD Architecture Using Separate Network Interfaces
- 14.5. Heartbeat Architecture
- 14.6. memcached Architecture Overview
- 14.7. memcached Hash Selection
- 14.8. memcached Hash Selection with New memcached instance
- 14.9. Memory Allocation in memcached
- 14.10. Typical memcached Application Flowchart
- 15.1. Using Replication to Improve Performance During Scale-Out
- 15.2. Using Replication to Replicate Databases to Separate Replication Slaves
- 15.3. Using an Additional Replication Host to Improve Performance
- 15.4. Redundancy Using Replication, Initial Structure
- 15.5. Redundancy Using Replication, After Master Failure
- 21.1. Add Connection Context Menu
- 21.2. Choose Data Source
- 21.3. Add Connection Dialog
- 21.4. New Data Connection
- 21.5. Editing New Table
- 21.6. Choose Table Name
- 21.7. Newly Created Table
- 21.8. Table Designer Main Menu
- 21.9. Indexes Dialog
- 21.10. Foreign Key Relationships Dialog
- 21.11. Table Properties Menu Item
- 21.12. Table Properties
- 21.13. Editing View SQL
- 21.14. View SQL Added
- 21.15. View SQL Saved
- 21.16. Edit Stored Procedure SQL
- 21.17. Stored Procedure SQL Saved
- 21.18. MySQL Website Configuration Tool
- 21.19. MySQL Website Configuration Tool - Membership
- 21.20. MySQL Website Configuration Tool - Connection String Editor
- 21.21. MySQL Website Configuration Tool - Advanced Options
- 21.22. MySQL Website Configuration Tool - Roles
- 21.23. MySQL Website Configuration Tool - Profiles
- 21.24. MySQL Website Configuration Tool - Session State
- 21.25. MySQL Website Configuration Tool - Tables
- 21.26. MySQL SQL Editor - New File
- 21.27. MySQL SQL Editor - Query
- 21.28. DDL T4 Template Macro - Model Properties
- 21.29. DDL T4 Template Macro - Generate Database Wizard
- 21.30. World Database Application
- 21.31. Authentication Type
- 21.32. Select Membership and Role Provider
- 21.33. Membership and Role Provider Tables
- 21.34. Security Tab
- 21.35. Create User
- 21.36. Membership and Roles Table Contents
- 21.37. Simple Profile Application
- 21.38. Add Entity Data Model
- 21.39. Entity Data Model Wizard Screen 1
- 21.40. Entity Data Model Wizard Screen 2
- 21.41. Entity Data Model Wizard Screen 3
- 21.42. Entity Data Model Diagram
- 21.43. Entity Data Source Configuration Wizard Screen 1
- 21.44. Entity Data Source Configuration Wizard Screen 2
- 21.45. Entity Data Source Configuration Wizard Screen 3
- 21.46. Data Sources
- 21.47. Data Form Designer
- 21.48. Adding Code to the Form
- 21.49. The Populated Grid Control
- 21.50. Save Button Enabled
- 21.51. Adding Save Code to the Form
- 21.52. The Design Tab
- 21.53. Drop Down List
- 21.54. Enable AutoPostBack
- 21.55. Grid View Control
- 21.56. Placed Grid Vew Control
- 21.57. Source Code
- 21.58. The Working Web Site
- 21.59. Windows Installer Welcome Screen
- 21.60. Windows Installer Overview Screen
- 21.61. Windows Installer Custom Setup Screen
- 21.62. Creating a New Project
- 21.63. The New Project Dialog Box
- 21.64. The Win32 Application Wizard
- 21.65. Selecting the Release Build
- 21.66. Selecting Project Properties from the Main Menu
- 21.67. Setting Properties
- 21.68. MySQL Include Directory
- 21.69. Select Directory Dialog
- 21.70. Typical Contents of MySQL lib/opt Directory
- 21.71. Additional Library Directories
- 21.72. Additional Library Directories Dialog
- 21.73.
- 21.74. Adding Additional Dependencies
- 21.75. Setting the CPPCONN_PUBLIC_FUNC Define
- 21.76. The NetBeans IDE
- 21.77. Setting the Header Include Directory
- 21.78. Setting the Static Library Directories and File Names
- 21.79. Setting the Dynamic Library Directory and File Name
- 21.80. The Пример Application Running
- 21.81. Adding an Extension
- 21.82. Selecting the Database
- 21.83. Selecting the connection type
- 21.84. Entering Connection Settings
- 21.85. Setting Up User Authentication
- 21.86. After Connecting to the Database
- 21.87. Entering the Database File Name
- 21.88. Listing Tables
- B.1. Active-Master MySQL Server
List of Tables
- 2.1. MySQL Package and Signature Files
- 2.2. MySQL Installation Layout for Generic Unix/Linux Binary Package
- 2.3. MySQL Installation Layout for Windows
- 2.4. MySQL Server Instance Config Wizard Command Line Options
- 2.5. MySQL Server Instance Config Wizard Parameters
- 2.6. Return Value from MySQL Server Instance Config Wizard
- 2.7. MySQL Unix Socket Locations on Mac OS X by Installation Type
- 2.8. MySQL Installation Layout on Mac OS X
- 2.9. MySQL Versions Preinstalled with Mac OS X Server
- 2.10. MySQL Directory Layout for Preinstalled MySQL Installations on Mac OS X Server
- 2.11. MySQL Installation Layout for Linux RPM
- 2.12. MySQL Linux Installation Packages
- 2.13. MySQL Installation Packages for Linux CPU Identifier
- 2.14. MySQL Source-Configuration Option Reference (CMake)
- 2.15. MySQL Startup scripts and supported server option groups
- 4.1.
mysqld_safe
Options - 4.2.
mysql
Options - 4.3.
mysqladmin
Options - 4.4.
mysqlcheck
Options - 4.5.
mysqldump
Options - 4.6.
mysqlimport
Options - 4.7.
mysqlshow
Options - 4.8.
mysqlslap
Options - 4.9.
myisamchk
Options - 4.10.
mysqlaccess
Options - 4.11.
mysqlbinlog
Options - 4.12.
mysqldumpslow
Options - 4.13.
mysqlhotcopy
Options - 5.1. Option/Variable Summary
- 5.2. System Variable Summary
- 5.3. Dynamic Variable Summary
- 5.4. Status Variable Summary
- 5.5. Security Option/Variable Summary
- 5.6. Permissible Privileges for
GRANT
andREVOKE
- 5.7.
user
anddb
Table Columns - 5.8.
tables_priv
andcolumns_priv
Table Columns - 5.9.
procs_priv
Table Columns - 5.10. Grant Table Scope Column Types
- 5.11. Set-Type Privilege Column Values
- 5.12. MySQL Native Password Authentication Plugin
- 5.13. MySQL Native Old-Password Authentication Plugin
- 5.14. MySQL PAM Authentication Plugin
- 5.15. MySQL Windows Authentication Plugin
- 5.16. MySQL Clear Text Authentication Plugin
- 5.17. MySQL Socket Peer-Credential Authentication Plugin
- 5.18. MySQL Test Authentication Plugin
- 5.19. SSL Option/Variable Summary
- 5.20. MySQL DTrace Probes
- 7.1.
EXPLAIN
Output Columns - 8.1. Special Character Escape Sequences
- 8.2. Reserved Words in MySQL 5.5.21
- 8.3. New Reserved Words in MySQL 5.5
- 9.1. MySQL Character Sets Available for User-Defined UCA Collations
- 11.1. Functions/Operators
- 11.2. Operators
- 11.3. Comparison Operators
- 11.4. Logical Operators
- 11.5. Assignment Operators
- 11.6. Flow Control Operators
- 11.7. String Operators
- 11.8. String Comparison Operators
- 11.9. String Regular Expression Operators
- 11.10. Numeric Functions and Operators
- 11.11. Arithmetic Operators
- 11.12. Mathematical Functions
- 11.13. Date/Time Functions
- 11.14. Cast Functions
- 11.15. XML Functions
- 11.16. Bitwise Functions
- 11.17. Encryption Functions
- 11.18. Information Functions
- 11.19. Miscellaneous Functions
- 11.20. Aggregate (
GROUP BY
) Functions - 12.1. Permissible Privileges for
GRANT
andREVOKE
- 13.1. Storage Engines Feature Summary
- 13.2.
InnoDB
Storage Engine Features - 13.3.
InnoDB
Option/Variable Reference - 13.4. Meaning of
CREATE TABLE
andALTER TABLE
options - 13.5.
CREATE/ALTER TABLE
Warnings and Ошибки when InnoDB Strict Mode is OFF - 13.6. InnoDB Data File Compatibility and Related InnoDB Parameters
- 13.7. Changes to
innodb_thread_concurrency
- 13.8. InnoDB 1.1 New Parameter Summary
- 13.9. InnoDB Parameters with New Defaults
- 13.10.
MyISAM
Storage Engine Features - 13.11.
MyISAM
Option/Variable Reference - 13.12.
MEMORY
Storage Engine Features - 13.13.
ARCHIVE
Storage Engine Features - 14.1. memcached Command Reference
- 14.2. memcached Protocol Responses
- 14.3. mysql-proxy Help Options
- 14.4. mysql-proxy Admin Options
- 14.5. mysql-proxy Proxy Options
- 14.6. mysql-proxy Applications Options
- 15.1. Replication Option/Variable Summary
- 15.2. Binary Logging Option/Variable Summary
- 16.1. Data Node Configuration Parameters
- 16.2. Management Node Configuration Parameters
- 16.3. SQL Node/API Node Configuration Parameters
- 16.4. COMPUTER Configuration Parameters
- 16.5. TCP Configuration Parameters
- 16.6. SHM Configuration Parameters
- 16.7. SCI Configuration Parameters
- 16.8. MySQL Server Option and Variable Reference for MySQL Cluster
- 16.9. ndbd Command Line Options
- 16.10. ndb_mgmd Command Line Options
- 16.11. ndb_mgm Command Line Options
- 16.12. ndb_config Command Line Options
- 16.13. ndbd_redo_log_reader Command Line Options
- 16.14. ndb_restore Command Line Options
- 16.15. ndb_show_tables Command Line Options
- 16.16. ndb_size.pl Command Line Options
- 16.17. ndb_waiter Command Line Options
- 16.18. Command Line Options Common to MySQL Cluster Programs
- 19.1. Columns of
INNODB_CMP
andINNODB_CMP_RESET
- 19.2. Columns of INNODB_CMPMEM and INNODB_CMPMEM_RESET
- 19.3.
INNODB_TRX
Columns - 19.4.
INNODB_LOCKS
Columns - 19.5.
INNODB_LOCK_WAITS
Columns - 19.6.
WAIT_TYPE
Values - 20.1. Performance Schema Variable Reference
- 21.1. MySQL APIs and Interfaces
- 21.2. MySQL Connector Versions and MySQL Server Versions
- 21.3. Connector/ODBC DSN Configuration Options
- 21.4. Connector/ODBC Option Flags
- 21.5. Connector/Net Requirements for Related Products
- 21.6. Mapping of MySQL Error Numbers to SQLStates
- 21.7. C API Function Names and Описаниеs
- 21.8. ext/mysql compile time support matrix
- 21.9. MySQL Configuration Options
- 21.10. MySQL client constants
- 21.11. MySQL fetch constants
- 21.12. mysqli compile time support matrix
- 21.13. MySQLi Configuration Options
- 21.14. Possible mysqli_info return values
- 21.15. Valid options
- 21.16. Supported flags
- 21.17. Attribute values
- 21.18. Type specification chars
- 21.19. Возвращаемые значения
- 21.20. Changelog
- 21.21. Object attributes
- 21.22. Object properties
- 21.23. Object properties
- 21.24. Supported flags
- 21.25. Changelog
- 21.26. MySQL Native Driver Configuration Options
- 21.27. Changelog
- 21.28. PDO_MYSQL Configuration Options
- 22.1. Server Plugin Status Variable Types
- 22.2. Server Plugin System Variable Flags
- 22.3. Full-Text Parser Token Types
Список примеров
- 13.1. Using the Compression Information Schema Tables
- 13.2. Identifying Blocking Transactions
- 13.3. More Complex Пример of Transaction Data in Information Schema Tables
- 21.1. Connector/J: Obtaining a connection from the
DriverManager
- 21.2. Connector/J: Using java.sql.Statement to execute a
SELECT
query - 21.3. Connector/J: Calling Stored Procedures
- 21.4. Connector/J: Using
Connection.prepareCall()
- 21.5. Connector/J: Registering output parameters
- 21.6. Connector/J: Setting
CallableStatement
input parameters - 21.7. Connector/J: Retrieving results and output parameter values
- 21.8. Connector/J: Retrieving
AUTO_INCREMENT
column values usingStatement.getGeneratedKeys()
- 21.9. Connector/J: Retrieving
AUTO_INCREMENT
column values usingSELECT LAST_INSERT_ID()
- 21.10. Connector/J: Retrieving
AUTO_INCREMENT
column values inUpdatable ResultSets
- 21.11. Connector/J: Using a connection pool with a J2EE application server
- 21.12. Connector/J: Пример of transaction with retry logic
- 21.13.
insertdata.jsp
- 21.14.
response.jsp
- 21.15. MySQL extension overview example
- 21.16.
mysql_affected_rows
example - 21.17.
mysql_affected_rows
example using transactions - 21.18.
mysql_client_encoding
example - 21.19.
mysql_close
example - 21.20.
mysql_connect
example - 21.21.
mysql_connect
example usinghostname:port
syntax - 21.22.
mysql_connect
example using ":/path/to/socket" syntax - 21.23.
mysql_create_db
alternative example - 21.24.
mysql_data_seek
example - 21.25.
mysql_db_name
example - 21.26.
mysql_db_query
alternative example - 21.27.
mysql_drop_db
alternative example - 21.28.
mysql_errno
example - 21.29.
mysql_error
example - 21.30.
mysql_escape_string
example - 21.31. Query with aliased duplicate field names
- 21.32.
mysql_fetch_array
withMYSQL_NUM
- 21.33.
mysql_fetch_array
withMYSQL_ASSOC
- 21.34.
mysql_fetch_array
withMYSQL_BOTH
- 21.35. An expanded
mysql_fetch_assoc
example - 21.36.
mysql_fetch_field
example - 21.37. A
mysql_fetch_lengths
example - 21.38.
mysql_fetch_object
example - 21.39.
mysql_fetch_object
example - 21.40. Fetching one row with
mysql_fetch_row
- 21.41. A
mysql_field_flags
example - 21.42.
mysql_field_len
example - 21.43.
mysql_field_name
example - 21.44. A
mysql_field_table
example - 21.45.
mysql_field_type
example - 21.46. A
mysql_free_result
example - 21.47.
mysql_get_client_info
example - 21.48.
mysql_get_host_info
example - 21.49.
mysql_get_proto_info
example - 21.50.
mysql_get_server_info
example - 21.51. Relevant MySQL Statements
- 21.52.
mysql_insert_id
example - 21.53.
mysql_list_dbs
example - 21.54. Alternate to deprecated
mysql_list_fields
- 21.55.
mysql_list_processes
example - 21.56.
mysql_list_tables
alternative example - 21.57. A
mysql_num_fields
example - 21.58.
mysql_num_rows
example - 21.59. A
mysql_ping
example - 21.60. Invalid Query
- 21.61. Valid Query
- 21.62. Simple
mysql_real_escape_string
example - 21.63. An example SQL Injection Attack
- 21.64.
mysql_result
example - 21.65.
mysql_select_db
example - 21.66.
mysql_stat
example - 21.67. Alternative
mysql_stat
example - 21.68.
mysql_tablename
example - 21.69.
mysql_thread_id
example - 21.70. Easy migration from the old mysql extension
- 21.71. Object-oriented and procedural interface
- 21.72. Bad coding style
- 21.73. Special meaning of localhost
- 21.74. Setting defaults
- 21.75. Bad coding style
- 21.76. Navigation through buffered results
- 21.77. Navigation through buffered results
- 21.78. Text protocol returns strings by default
- 21.79. Native data types with mysqlnd and connection option
- 21.80. First stage: prepare
- 21.81. Second stage: bind and execute
- 21.82. INSERT prepared once, executed multiple times
- 21.83. Less round trips using multi-INSERT SQL
- 21.84. Native datatypes
- 21.85. Output variable binding
- 21.86. Using mysqli_result to fetch results
- 21.87. Buffered result set for flexible read out
- 21.88. Calling a stored procedure
- 21.89. Using session variables
- 21.90. Fetching results from stored procedures
- 21.91. Stored Procedures and Prepared Statements
- 21.92. Stored Procedures and Prepared Statements using bind API
- 21.93. Multiple Statements
- 21.94. SQL ijnection
- 21.95. Setting auto commit mode with SQL and through the API
- 21.96. Commit and rollback
- 21.97. Accessing result set meta data
- 21.98. Prepared statements metadata
- 21.99.
$mysqli->affected_rows
example - 21.100.
mysqli::autocommit
example - 21.101.
mysqli::change_user
example - 21.102.
mysqli::character_set_name
example - 21.103. mysqli_get_client_info
- 21.104. mysqli_get_client_version
- 21.105.
mysqli::commit
example - 21.106.
$mysqli->connect_errno
example - 21.107.
$mysqli->connect_error
example - 21.108.
mysqli::__construct
example - 21.109. Generating a Trace File
- 21.110.
$mysqli->errno
example - 21.111.
$mysqli->error
example - 21.112.
$mysqli->field_count
example - 21.113.
mysqli::get_charset
example - 21.114. mysqli_get_client_info
- 21.115. A
mysqli_get_client_stats
example - 21.116. mysqli_get_client_version
- 21.117. A
mysqli_get_connection_stats
example - 21.118.
$mysqli->host_info
example - 21.119.
$mysqli->protocol_version
example - 21.120.
$mysqli->server_info
example - 21.121.
$mysqli->server_version
example - 21.122.
$mysqli->info
example - 21.123.
$mysqli->insert_id
example - 21.124.
mysqli::kill
example - 21.125.
mysqli::multi_query
example - 21.126.
mysqli::ping
example - 21.127. A
mysqli_poll
example - 21.128.
mysqli::prepare
example - 21.129.
mysqli::query
example - 21.130.
mysqli::real_connect
example - 21.131.
mysqli::real_escape_string
example - 21.132.
mysqli::rollback
example - 21.133.
mysqli::select_db
example - 21.134.
mysqli::set_charset
example - 21.135.
mysqli::set_local_infile_handler
example - 21.136.
$mysqli->sqlstate
example - 21.137.
mysqli::stat
example - 21.138.
$mysqli->thread_id
example - 21.139.
mysqli::use_result
example - 21.140.
$mysqli->warning_count
example - 21.141. Object oriented style
- 21.142. Procedural style
- 21.143. Object oriented style
- 21.144. Procedural style
- 21.145. Object oriented style
- 21.146. Procedural style
- 21.147. Object oriented style
- 21.148. Procedural style
- 21.149. Object oriented style
- 21.150. Procedural style
- 21.151. Object oriented style
- 21.152. Procedural style
- 21.153. Object oriented style
- 21.154. Procedural style
- 21.155. Object oriented style
- 21.156. Procedural style
- 21.157. Object oriented style
- 21.158. Procedural style
- 21.159. Object oriented style
- 21.160. Procedural style
- 21.161. Object oriented style
- 21.162. Procedural style
- 21.163. Object oriented style
- 21.164. Procedural style
- 21.165. Object oriented style
- 21.166. Procedural style
- 21.167. Object oriented style
- 21.168. Object oriented style
- 21.169. Procedural style
- 21.170. Object oriented style
- 21.171. Procedural style
- 21.172. Object oriented style
- 21.173. Procedural style
- 21.174. Object oriented style
- 21.175. Procedural style
- 21.176. Object oriented style
- 21.177. Procedural style
- 21.178. Object oriented style
- 21.179. Procedural style
- 21.180. A
mysqli_result
example comparingiterator
usage - 21.181. Object oriented style
- 21.182. Procedural style
- 21.183. Object oriented style
- 21.184. Procedural style
- 21.185. Object oriented style
- 21.186. Procedural style
- 21.187. Object oriented style
- 21.188. Procedural style
- 21.189. Object oriented style
- 21.190. Procedural style
- 21.191. Object oriented style
- 21.192. Procedural style
- 21.193. Object oriented style
- 21.194. Procedural style
- 21.195. Object oriented style
- 21.196. Procedural style
- 21.197. Object oriented style
- 21.198. Procedural style
- 21.199. A
mysqli_get_cache_stats
example - 21.200. Object oriented style
- 21.201. Forcing queries to be buffered in mysql
- 21.202. Setting the connection character set to UTF-8 prior to PHP 5.3.6
- 21.203. PDO_MYSQL DSN examples