Copyright 1997-2006 MySQL AB
This documentation is NOT distributed under a GPL license. Use of this documentation is subject to the following terms: You may create a printed copy of this documentation solely for your own personal use. Conversion to other formats is allowed as long as the actual content is not altered or edited in any way. You shall not publish or distribute this documentation in any form or on any media, except if you distribute the documentation in a manner similar to how MySQL disseminates it (that is, electronically for download on a website with the software) or on a CD-ROM or similar medium, provided however that the documentation is disseminated together with the software on the same medium. Any other use, such as any dissemination of printed copies or use of this documentation, in whole or in part, in another publication, requires the prior written consent from an authorized representative of MySQL AB. MySQL AB reserves any and all rights to this documentation not expressly granted above.
Please email <[email protected]>
for more information or
if you are interested in doing a translation.
Abstract
This is the MySQL Reference Manual. It documents MySQL 5.0 through 5.0.25.
Document generated on: 2006-08-11
Table of Contents
- Preface
- 1. General Information
-
- 1.1. About This Manual
- 1.2. Conventions Used in This Manual
- 1.3. Overview of MySQL AB
- 1.4. Overview of the MySQL Database Management System
- 1.5. Overview of the MaxDB Database Management System
- 1.6. MySQL Development Roadmap
- 1.7. MySQL Information Sources
- 1.8. How to Report Bugs or Problems
- 1.9. MySQL Standards Compliance
- 2. Installing and Upgrading MySQL
-
- 2.1. General Installation Issues
- 2.2. Standard MySQL Installation Using a Binary Distribution
- 2.3. Installing MySQL on Windows
-
- 2.3.1. Choosing An Installation Package
- 2.3.2. Installing MySQL with the Automated Installer
- 2.3.3. Using the MySQL Installation Wizard
- 2.3.4. Using the Configuration Wizard
- 2.3.5. Installing MySQL from a Noinstall Zip Archive
- 2.3.6. Extracting the Install Archive
- 2.3.7. Creating an Option File
- 2.3.8. Selecting a MySQL Server type
- 2.3.9. Starting the Server for the First Time
- 2.3.10. Starting MySQL from the Windows Command Line
- 2.3.11. Starting MySQL as a Windows Service
- 2.3.12. Testing The MySQL Installation
- 2.3.13. Troubleshooting a MySQL Installation Under Windows
- 2.3.14. Upgrading MySQL on Windows
- 2.3.15. MySQL on Windows Compared to MySQL on Unix
- 2.4. Installing MySQL on Linux
- 2.5. Installing MySQL on Mac OS X
- 2.6. Installing MySQL on Solaris
- 2.7. Installing MySQL on NetWare
- 2.8. Installing MySQL on Other Unix-Like Systems
- 2.9. MySQL Installation Using a Source Distribution
- 2.10. Post-Installation Setup and Testing
- 2.11. Upgrading MySQL
- 2.12. Downgrading MySQL
- 2.13. Operating System-Specific Notes
- 2.14. 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 Field
- 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. Queries from the Twin Project
- 3.8. Using MySQL with Apache
- 4. Using MySQL Programs
- 5. Database Administration
-
- 5.1. Overview of Server-Side Programs
- 5.2. mysqld — The MySQL Server
- 5.3. The mysqld-max Extended MySQL Server
- 5.4. MySQL Server Startup Programs
- 5.5. mysqlmanager — The MySQL Instance Manager
- 5.6. Installation-Related Programs
- 5.7. General Security Issues
- 5.8. The MySQL Access Privilege System
-
- 5.8.1. What the Privilege System Does
- 5.8.2. How the Privilege System Works
- 5.8.3. Privileges Provided by MySQL
- 5.8.4. Connecting to the MySQL Server
- 5.8.5. Access Control, Stage 1: Connection Verification
- 5.8.6. Access Control, Stage 2: Request Verification
- 5.8.7. When Privilege Changes Take Effect
-
5.8.8. Causes of
Access denied
Errors - 5.8.9. Password Hashing as of MySQL 4.1
- 5.9. MySQL User Account Management
- 5.10. Backup and Recovery
- 5.11. MySQL Localization and International Usage
-
- 5.11.1. The Character Set Used for Data and Sorting
- 5.11.2. Setting the Error Message Language
- 5.11.3. Adding a New Character Set
- 5.11.4. The Character Definition Arrays
- 5.11.5. String Collating Support
- 5.11.6. Multi-Byte Character Support
- 5.11.7. Problems With Character Sets
- 5.11.8. MySQL Server Time Zone Support
- 5.12. MySQL Server Logs
- 5.13. Running Multiple MySQL Servers on the Same Machine
- 5.14. The MySQL Query Cache
- 6. Replication
-
- 6.1. Introduction to Replication
- 6.2. Replication Implementation Overview
- 6.3. Replication Implementation Details
- 6.4. How to Set Up Replication
- 6.5. Replication Compatibility Between MySQL Versions
- 6.6. Upgrading a Replication Setup
- 6.7. Replication Features and Known Problems
- 6.8. Replication Startup Options
- 6.9. How Servers Evaluate Replication Rules
- 6.10. Replication FAQ
- 6.11. Troubleshooting Replication
- 6.12. How to Report Replication Bugs or Problems
- 6.13. Auto-Increment in Multiple-Master Replication
- 7. Optimization
-
- 7.1. Optimization Overview
-
7.2. Optimizing
SELECT
and Other Statements -
-
7.2.1. Optimizing Queries with
EXPLAIN
- 7.2.2. Estimating Query Performance
-
7.2.3. Speed of
SELECT
Queries -
7.2.4.
WHERE
Clause Optimization - 7.2.5. Range Optimization
- 7.2.6. Index Merge Optimization
-
7.2.7.
IS NULL
Optimization -
7.2.8.
DISTINCT
Optimization -
7.2.9.
LEFT JOIN
andRIGHT JOIN
Optimization - 7.2.10. Nested Join Optimization
- 7.2.11. Outer Join Simplification
-
7.2.12.
ORDER BY
Optimization -
7.2.13.
GROUP BY
Optimization -
7.2.14.
LIMIT
Optimization - 7.2.15. How to Avoid Table Scans
-
7.2.16. Speed of
INSERT
Statements -
7.2.17. Speed of
UPDATE
Statements -
7.2.18. Speed of
DELETE
Statements - 7.2.19. Other Optimization Tips
-
7.2.1. Optimizing Queries with
- 7.3. Locking Issues
- 7.4. Optimizing Database Structure
-
- 7.4.1. Design Choices
- 7.4.2. Make Your Data as Small as Possible
- 7.4.3. Column Indexes
- 7.4.4. Multiple-Column Indexes
- 7.4.5. How MySQL Uses Indexes
-
7.4.6. The
MyISAM
Key Cache -
7.4.7.
MyISAM
Index Statistics Collection - 7.4.8. How MySQL Opens and Closes Tables
- 7.4.9. Drawbacks to Creating Many Tables in the Same Database
- 7.5. Optimizing the MySQL Server
- 7.6. Disk Issues
- 8. Client and Utility Programs
-
- 8.1. Overview of Client and Utility Programs
- 8.2. myisam_ftdump — Display Full-Text Index information
- 8.3. myisamchk — MyISAM Table-Maintenance Utility
- 8.4. myisamlog — Display MyISAM Log File Contents
- 8.5. myisampack — Generate Compressed, Read-Only MyISAM Tables
- 8.6. mysql — The MySQL Command-Line Tool
- 8.7. mysql_explain_log — Use EXPLAIN on Statements in Query Log
- 8.8. mysqlaccess — Client for Checking Access Privileges
- 8.9. mysqladmin — Client for Administering a MySQL Server
- 8.10. mysqlbinlog — Utility for Processing Binary Log Files
- 8.11. mysqlcheck — A Table Maintenance and Repair Program
- 8.12. mysqldump — A Database Backup Program
- 8.13. mysqlhotcopy — A Database Backup Program
- 8.14. mysqlimport — A Data Import Program
- 8.15. mysqlshow — Display Database, Table, and Column Information
- 8.16. mysql_zap — Kill Processes That Match a Pattern
- 8.17. perror — Explain Error Codes
- 8.18. replace — A String-Replacement Utility
- 9. Language Structure
- 10. Character Set Support
-
- 10.1. Character Sets and Collations in General
- 10.2. Character Sets and Collations in MySQL
- 10.3. Specifying Character Sets and Collations
-
- 10.3.1. Server Character Set and Collation
- 10.3.2. Database Character Set and Collation
- 10.3.3. Table Character Set and Collation
- 10.3.4. Column Character Set and Collation
- 10.3.5. Character String Literal Character Set and Collation
- 10.3.6. National Character Set
- 10.3.7. Examples of Character Set and Collation Assignment
- 10.3.8. Compatibility with Other DBMSs
- 10.4. Connection Character Sets and Collations
- 10.5. Collation Issues
- 10.6. Operations Affected by Character Set Support
- 10.7. Unicode Support
- 10.8. UTF-8 for Metadata
- 10.9. Character Sets and Collations That MySQL Supports
- 10.10. FAQ: MySQL Chinese, Japanese, and Korean Character Sets
-
- 10.10.1. SELECT shows non-Latin characters as "?"s. Why?
- 10.10.2. Troubles with GB character sets (Chinese)
- 10.10.3. Troubles with big5 character set (Chinese)
- 10.10.4. Troubles with character-set conversions (Japanese)
- 10.10.5. The Great Yen Sign problem (Japanese)
- 10.10.6. Troubles with euckr character set (Korean)
- 10.10.7. The “Data truncated” message
- 10.10.8. Troubles with Access, Perl, PHP, etc.
- 10.10.9. How can I get old MySQL 4.0 behaviour back?
- 10.10.10. Why do some LIKE and FULLTEXT searches fail?
- 10.10.11. What CJK character sets are available?
- 10.10.12. Is character X available in all character sets?
- 10.10.13. Strings don't sort correctly in Unicode (I)
- 10.10.14. Strings don't sort correctly in Unicode (II)
- 10.10.15. My supplementary characters get rejected
- 10.10.16. Shouldn't it be CJKV (V for Vietnamese)?
- 10.10.17. Will MySQL fix any CJK problems in version 5.1?
- 10.10.18. When will MySQL translate the manual again?
- 10.10.19. Whom can I talk to?
- 11. Data Types
- 12. Functions and Operators
-
- 12.1. Operators
- 12.2. Control Flow Functions
- 12.3. String Functions
- 12.4. Numeric Functions
- 12.5. Date and Time Functions
- 12.6. What Calendar Is Used By MySQL?
- 12.7. Full-Text Search Functions
- 12.8. Cast Functions and Operators
- 12.9. Other Functions
-
12.10. Functions and Modifiers for Use with
GROUP BY
Clauses
- 13. SQL Statement Syntax
-
- 13.1. Data Definition Statements
- 13.2. Data Manipulation Statements
- 13.3. MySQL Utility Statements
- 13.4. MySQL Transactional and Locking Statements
-
-
13.4.1.
START TRANSACTION
,COMMIT
, andROLLBACK
Syntax - 13.4.2. Statements That Cannot Be Rolled Back
- 13.4.3. Statements That Cause an Implicit Commit
-
13.4.4.
SAVEPOINT
andROLLBACK TO SAVEPOINT
Syntax -
13.4.5.
LOCK TABLES
andUNLOCK TABLES
Syntax -
13.4.6.
SET TRANSACTION
Syntax - 13.4.7. XA Transactions
-
13.4.1.
- 13.5. Database Administration Statements
- 13.6. Replication Statements
- 13.7. SQL Syntax for Prepared Statements
- 14. Storage Engines and Table Types
-
-
14.1. The
MyISAM
Storage Engine -
14.2. The
InnoDB
Storage Engine -
-
14.2.1.
InnoDB
Overview -
14.2.2.
InnoDB
Contact Information -
14.2.3.
InnoDB
Configuration -
14.2.4.
InnoDB
Startup Options and System Variables -
14.2.5. Creating the
InnoDB
Tablespace -
14.2.6. Creating and Using
InnoDB
Tables -
14.2.7. Adding and Removing
InnoDB
Data and Log Files -
14.2.8. Backing Up and Recovering an
InnoDB
Database -
14.2.9. Moving an
InnoDB
Database to Another Machine -
14.2.10.
InnoDB
Transaction Model and Locking -
14.2.11.
InnoDB
Performance Tuning Tips - 14.2.12. Implementation of Multi-Versioning
-
14.2.13.
InnoDB
Table and Index Structures -
14.2.14.
InnoDB
File Space Management and Disk I/O -
14.2.15.
InnoDB
Error Handling -
14.2.16. Restrictions on
InnoDB
Tables -
14.2.17.
InnoDB
Troubleshooting
-
14.2.1.
-
14.3. The
MERGE
Storage Engine -
14.4. The
MEMORY
(HEAP
) Storage Engine -
14.5. The
BDB
(BerkeleyDB
) Storage Engine -
14.6. The
EXAMPLE
Storage Engine -
14.7. The
FEDERATED
Storage Engine -
14.8. The
ARCHIVE
Storage Engine -
14.9. The
CSV
Storage Engine -
14.10. The
BLACKHOLE
Storage Engine
-
14.1. The
- 15. MySQL Cluster
-
- 15.1. MySQL Cluster Overview
- 15.2. Basic MySQL Cluster Concepts
- 15.3. Simple Multi-Computer How-To
- 15.4. MySQL Cluster Configuration
- 15.5. Upgrading and Downgrading MySQL Cluster
- 15.6. Process Management in MySQL Cluster
- 15.7. Management of MySQL Cluster
- 15.8. On-line Backup of MySQL Cluster
- 15.9. Using High-Speed Interconnects with MySQL Cluster
- 15.10. Known Limitations of MySQL Cluster
- 15.11. MySQL Cluster Development Roadmap
- 15.12. MySQL Cluster FAQ
- 15.13. MySQL Cluster Glossary
- 16. Spatial Extensions
-
- 16.1. Introduction to MySQL Spatial Support
- 16.2. The OpenGIS Geometry Model
-
- 16.2.1. The Geometry Class Hierarchy
-
16.2.2. Class
Geometry
-
16.2.3. Class
Point
-
16.2.4. Class
Curve
-
16.2.5. Class
LineString
-
16.2.6. Class
Surface
-
16.2.7. Class
Polygon
-
16.2.8. Class
GeometryCollection
-
16.2.9. Class
MultiPoint
-
16.2.10. Class
MultiCurve
-
16.2.11. Class
MultiLineString
-
16.2.12. Class
MultiSurface
-
16.2.13. Class
MultiPolygon
- 16.3. Supported Spatial Data Formats
- 16.4. Creating a Spatially Enabled MySQL Database
- 16.5. Analyzing Spatial Information
-
- 16.5.1. Geometry Format Conversion Functions
-
16.5.2.
Geometry
Functions - 16.5.3. Functions That Create New Geometries from Existing Ones
- 16.5.4. Functions for Testing Spatial Relations Between Geometric Objects
- 16.5.5. Relations on Geometry Minimal Bounding Rectangles (MBRs)
- 16.5.6. Functions That Test Spatial Relationships Between Geometries
- 16.6. Optimizing Spatial Analysis
- 16.7. MySQL Conformance and Compatibility
- 17. Stored Procedures and Functions
-
- 17.1. Stored Routines and the Grant Tables
- 17.2. Stored Routine Syntax
-
-
17.2.1.
CREATE PROCEDURE
andCREATE FUNCTION
Syntax -
17.2.2.
ALTER PROCEDURE
andALTER FUNCTION
Syntax -
17.2.3.
DROP PROCEDURE
andDROP FUNCTION
Syntax -
17.2.4.
CALL
Statement Syntax -
17.2.5.
BEGIN ... END
Compound Statement Syntax -
17.2.6.
DECLARE
Statement Syntax - 17.2.7. Variables in Stored Routines
- 17.2.8. Conditions and Handlers
- 17.2.9. Cursors
- 17.2.10. Flow Control Constructs
-
17.2.1.
- 17.3. Stored Procedures, Functions, Triggers, and Replication: Frequently Asked Questions
- 17.4. Binary Logging of Stored Routines and Triggers
- 18. Triggers
- 19. Views
-
20. The
INFORMATION_SCHEMA
Database -
-
20.1. The
INFORMATION_SCHEMA SCHEMATA
Table -
20.2. The
INFORMATION_SCHEMA TABLES
Table -
20.3. The
INFORMATION_SCHEMA COLUMNS
Table -
20.4. The
INFORMATION_SCHEMA STATISTICS
Table -
20.5. The
INFORMATION_SCHEMA USER_PRIVILEGES
Table -
20.6. The
INFORMATION_SCHEMA SCHEMA_PRIVILEGES
Table -
20.7. The
INFORMATION_SCHEMA TABLE_PRIVILEGES
Table -
20.8. The
INFORMATION_SCHEMA COLUMN_PRIVILEGES
Table -
20.9. The
INFORMATION_SCHEMA CHARACTER_SETS
Table -
20.10. The
INFORMATION_SCHEMA COLLATIONS
Table -
20.11. The
INFORMATION_SCHEMA COLLATION_CHARACTER_SET_APPLICABILITY
Table -
20.12. The
INFORMATION_SCHEMA TABLE_CONSTRAINTS
Table -
20.13. The
INFORMATION_SCHEMA KEY_COLUMN_USAGE
Table -
20.14. The
INFORMATION_SCHEMA ROUTINES
Table -
20.15. The
INFORMATION_SCHEMA VIEWS
Table -
20.16. The
INFORMATION_SCHEMA TRIGGERS
Table -
20.17. Other
INFORMATION_SCHEMA
Tables -
20.18. Extensions to
SHOW
Statements
-
20.1. The
- 21. Precision Math
- 22. APIs and Libraries
-
- 22.1. libmysqld, the Embedded MySQL Server Library
- 22.2. MySQL C API
-
- 22.2.1. C API Data types
- 22.2.2. C API Function Overview
- 22.2.3. C API Function Descriptions
- 22.2.4. C API Prepared Statements
- 22.2.5. C API Prepared Statement Data types
- 22.2.6. C API Prepared Statement Function Overview
- 22.2.7. C API Prepared Statement Function Descriptions
- 22.2.8. C API Prepared statement problems
- 22.2.9. C API Handling of Multiple Statement Execution
- 22.2.10. C API Handling of Date and Time Values
- 22.2.11. C API Threaded Function Descriptions
- 22.2.12. C API Embedded Server Function Descriptions
- 22.2.13. Common Questions and Problems When Using the C API
- 22.2.14. Building Client Programs
- 22.2.15. How to Make a Threaded Client
- 22.3. MySQL PHP API
- 22.4. MySQL Perl API
- 22.5. MySQL C++ API
- 22.6. MySQL Python API
- 22.7. MySQL Tcl API
- 22.8. MySQL Eiffel Wrapper
- 22.9. MySQL Program Development Utilities
- 23. Connectors
- 24. Extending MySQL
- A. Problems and Common Errors
-
- A.1. How to Determine What Is Causing a Problem
- A.2. Common Errors When Using MySQL Programs
-
-
A.2.1.
Access denied
-
A.2.2.
Can't connect to [local] MySQL server
-
A.2.3.
Client does not support authentication protocol
- A.2.4. Password Fails When Entered Interactively
-
A.2.5.
Host '
host_name
' is blocked -
A.2.6.
Too many connections
-
A.2.7.
Out of memory
-
A.2.8.
MySQL server has gone away
-
A.2.9.
Packet too large
- A.2.10. Communication Errors and Aborted Connections
-
A.2.11.
The table is full
-
A.2.12.
Can't create/write to file
-
A.2.13.
Commands out of sync
-
A.2.14.
Ignoring user
-
A.2.15.
Table '
tbl_name
' doesn't exist -
A.2.16.
Can't initialize character set
- A.2.17. File Not Found
-
A.2.1.
- A.3. Installation-Related Issues
- A.4. Administration-Related Issues
- A.5. Query-Related Issues
-
- A.5.1. Case Sensitivity in Searches
-
A.5.2. Problems Using
DATE
Columns -
A.5.3. Problems with
NULL
Values - A.5.4. Problems with Column Aliases
- A.5.5. Rollback Failure for Non-Transactional Tables
- A.5.6. Deleting Rows from Related Tables
- A.5.7. Solving Problems with No Matching Rows
- A.5.8. Problems with Floating-Point Comparisons
- A.6. Optimizer-Related Issues
- A.7. Table Definition-Related Issues
- A.8. Known Issues in MySQL
- B. Error Codes and Messages
- C. Credits
- D. MySQL Change History
-
- D.1. Changes in release 5.0.x (Production)
-
- D.1.1. Changes in release 5.0.25 (Not yet released)
- D.1.2. Changes in release 5.0.24 (Not yet released)
- D.1.3. Changes in release 5.0.23 (Not released)
- D.1.4. Changes in release 5.0.22 (24 May 2006)
- D.1.5. Changes in release 5.0.21 (02 May 2006)
- D.1.6. Changes in release 5.0.20a (18 April 2006)
- D.1.7. Changes in release 5.0.20 (31 March 2006)
- D.1.8. Changes in release 5.0.19 (04 March 2006)
- D.1.9. Changes in release 5.0.18 (21 December 2005)
- D.1.10. Changes in release 5.0.17 (14 December 2005)
- D.1.11. Changes in release 5.0.16 (10 November 2005)
- D.1.12. Changes in release 5.0.15 (19 October 2005: Production)
- D.1.13. Changes in release 5.0.14 (Not released)
- D.1.14. Changes in release 5.0.13 (22 September 2005: Release Candidate)
- D.1.15. Changes in release 5.0.12 (02 September 2005)
- D.1.16. Changes in release 5.0.11 (06 August 2005)
- D.1.17. Changes in release 5.0.10 (27 July 2005)
- D.1.18. Changes in release 5.0.9 (15 July 2005)
- D.1.19. Changes in release 5.0.8 (Not released)
- D.1.20. Changes in release 5.0.7 (10 June 2005)
- D.1.21. Changes in release 5.0.6 (26 May 2005)
- D.1.22. Changes in release 5.0.5 (Not released)
- D.1.23. Changes in release 5.0.4 (16 April 2005)
- D.1.24. Changes in release 5.0.3 (23 March 2005: Beta)
- D.1.25. Changes in release 5.0.2 (01 December 2004)
- D.1.26. Changes in release 5.0.1 (27 July 2004)
- D.1.27. Changes in release 5.0.0 (22 December 2003: Alpha)
- D.2. Changes in MySQL Cluster
-
- D.2.1. Changes in MySQL Cluster-5.0.7 (10 June 2005)
- D.2.2. Changes in MySQL Cluster-5.0.6 (26 May 2005)
- D.2.3. Changes in MySQL Cluster-5.0.5 (Not released)
- D.2.4. Changes in MySQL Cluster-5.0.4 (16 April 2005)
- D.2.5. Changes in MySQL Cluster-5.0.3 (23 March 2005: Beta)
- D.2.6. Changes in MySQL Cluster-5.0.1 (27 July 2004)
- D.2.7. Changes in MySQL Cluster-4.1.13 (15 July 2005)
- D.2.8. Changes in MySQL Cluster-4.1.12 (13 May 2005)
- D.2.9. Changes in MySQL Cluster-4.1.11 (01 April 2005)
- D.2.10. Changes in MySQL Cluster-4.1.10 (12 February 2005)
- D.2.11. Changes in MySQL Cluster-4.1.9 (13 January 2005)
- D.2.12. Changes in MySQL Cluster-4.1.8 (14 December 2004)
- D.2.13. Changes in MySQL Cluster-4.1.7 (23 October 2004)
- D.2.14. Changes in MySQL Cluster-4.1.6 (10 October 2004)
- D.2.15. Changes in MySQL Cluster-4.1.5 (16 September 2004)
- D.2.16. Changes in MySQL Cluster-4.1.4 (31 August 2004)
- D.2.17. Changes in MySQL Cluster-4.1.3 (28 June 2004)
- D.3. MySQL Connector/ODBC (MyODBC) Change History
- D.4. MySQL Connector/NET Change History
-
- D.4.1. Version 1.0.8
- D.4.2. Version 1.0.7
- D.4.3. Version 1.0.6
- D.4.4. Version 1.0.5
- D.4.5. Version 1.0.4 1-20-05
- D.4.6. Version 1.0.3-gamma 12-10-04
- D.4.7. Version 1.0.2-gamma 04-11-15
- D.4.8. Version 1.0.1-beta2 04-10-27
- D.4.9. Version 1.0.0 04-09-01
- D.4.10. Version 0.9.0 04-08-30
- D.4.11. Version 0.76
- D.4.12. Version 0.75
- D.4.13. Version 0.74
- D.4.14. Version 0.71
- D.4.15. Version 0.70
- D.4.16. Version 0.68
- D.4.17. Version 0.65
- D.4.18. Version 0.60
- D.4.19. Version 0.50
- D.5. MySQL Connector/J Change History
-
- D.5.1. Changes in MySQL Connector/J 5.0.2-beta (11 July 2006)
- D.5.2. Changes in MySQL Connector/J 5.0.1-beta (Not Released)
- D.5.3. Changes in MySQL Connector/J 5.0.0-beta (22 December 2005)
- D.5.4. Changes in MySQL Connector/J 3.1.14 (not yet released)
- D.5.5. Changes in MySQL Connector/J 3.1.13 (26 May 2006)
- D.5.6. Changes in MySQL Connector/J 3.1.12 (30 November 2005)
- D.5.7. Changes in MySQL Connector/J 3.1.11-stable (07 October 2005)
- D.5.8. Changes in MySQL Connector/J 3.1.10-stable (23 June 2005)
- D.5.9. Changes in MySQL Connector/J 3.1.9-stable (22 June 2005)
- D.5.10. Changes in MySQL Connector/J 3.1.8-stable (14 April 2005)
- D.5.11. Changes in MySQL Connector/J 3.1.7-stable (18 February 2005)
- D.5.12. Changes in MySQL Connector/J 3.1.6-stable (23 December 2004)
- D.5.13. Changes in MySQL Connector/J 3.1.5-gamma (02 December 2004)
- D.5.14. Changes in MySQL Connector/J 3.1.4-beta (04 September 2004)
- D.5.15. Changes in MySQL Connector/J 3.1.3-beta (07 July 2004)
- D.5.16. Changes in MySQL Connector/J 3.1.2-alpha (09 June 2004)
- D.5.17. Changes in MySQL Connector/J 3.1.1-alpha (14 February 2004)
- D.5.18. Changes in MySQL Connector/J 3.1.0-alpha (18 February 2003)
- D.5.19. Changes in MySQL Connector/J 3.0.17-ga (23 June 2005)
- D.5.20. Changes in MySQL Connector/J 3.0.16-ga (15 November 2004)
- D.5.21. Changes in MySQL Connector/J 3.0.15-production (04 September 2004)
- D.5.22. Changes in MySQL Connector/J 3.0.14-production (28 May 2004)
- D.5.23. Changes in MySQL Connector/J 3.0.13-production (27 May 2004)
- D.5.24. Changes in MySQL Connector/J 3.0.12-production (18 May 2004)
- D.5.25. Changes in MySQL Connector/J 3.0.11-stable (19 February 2004)
- D.5.26. Changes in MySQL Connector/J 3.0.10-stable (13 January 2004)
- D.5.27. Changes in MySQL Connector/J 3.0.9-stable (07 October 2003)
- D.5.28. Changes in MySQL Connector/J 3.0.8-stable (23 May 2003)
- D.5.29. Changes in MySQL Connector/J 3.0.7-stable (08 April 2003)
- D.5.30. Changes in MySQL Connector/J 3.0.6-stable (18 February 2003)
- D.5.31. Changes in MySQL Connector/J 3.0.5-gamma (22 January 2003)
- D.5.32. Changes in MySQL Connector/J 3.0.4-gamma (06 January 2003)
- D.5.33. Changes in MySQL Connector/J 3.0.3-dev (17 December 2002)
- D.5.34. Changes in MySQL Connector/J 3.0.2-dev (08 November 2002)
- D.5.35. Changes in MySQL Connector/J 3.0.1-dev (21 September 2002)
- D.5.36. Changes in MySQL Connector/J 3.0.0-dev (31 July 2002)
- D.5.37. Changes in MySQL Connector/J 2.0.14 (16 May 2002)
- D.5.38. Changes in MySQL Connector/J 2.0.13 (24 April 2002)
- D.5.39. Changes in MySQL Connector/J 2.0.12 (07 April 2002)
- D.5.40. Changes in MySQL Connector/J 2.0.11 (27 January 2002)
- D.5.41. Changes in MySQL Connector/J 2.0.10 (24 January 2002)
- D.5.42. Changes in MySQL Connector/J 2.0.9 (13 January 2002)
- D.5.43. Changes in MySQL Connector/J 2.0.8 (25 November 2001)
- D.5.44. Changes in MySQL Connector/J 2.0.7 (24 October 2001)
- D.5.45. Changes in MySQL Connector/J 2.0.6 (16 June 2001)
- D.5.46. Changes in MySQL Connector/J 2.0.5 (13 June 2001)
- D.5.47. Changes in MySQL Connector/J 2.0.3 (03 December 2000)
- D.5.48. Changes in MySQL Connector/J 2.0.1 (06 April 2000)
- D.5.49. Changes in MySQL Connector/J 2.0.0pre5 (21 February 2000)
- D.5.50. Changes in MySQL Connector/J 2.0.0pre4 (10 January 2000)
- D.5.51. Changes in MySQL Connector/J 2.0.0pre (17 August 1999)
- D.5.52. Changes in MySQL Connector/J 1.2b (04 July 1999)
- D.5.53. Changes in MySQL Connector/J 1.2a (14 April 1999)
- D.5.54. Changes in MySQL Connector/J 1.1i (24 March 1999)
- D.5.55. Changes in MySQL Connector/J 1.1h (08 March 1999)
- D.5.56. Changes in MySQL Connector/J 1.1g (19 February 1999)
- D.5.57. Changes in MySQL Connector/J 1.1f (31 December 1998)
- D.5.58. Changes in MySQL Connector/J 1.1b (03 November 1998)
- D.5.59. Changes in MySQL Connector/J 1.1 (02 September 1998)
- D.5.60. Changes in MySQL Connector/J 1.0 (24 August 1998)
- D.5.61. Changes in MySQL Connector/J 0.9d (04 August 1998)
- D.5.62. Changes in MySQL Connector/J 0.9 (28 July 1998)
- D.5.63. Changes in MySQL Connector/J 0.8 (06 July 1998)
- D.5.64. Changes in MySQL Connector/J 0.7 (01 July 1998)
- D.5.65. Changes in MySQL Connector/J 0.6 (21 May 1998)
- E. Porting to Other Systems
- F. Environment Variables
- G. Regular Expressions
- H. Limits in MySQL
- I. Feature Restrictions
- J. GNU General Public License
- K. MySQL FLOSS License Exception
List of Tables
List of Examples
- 23.1. Obtaining a connection from the
DriverManager
- 23.2. Using java.sql.Statement to execute a
SELECT
query - 23.3. Stored Procedures
- 23.4. Using
Connection.prepareCall()
- 23.5. Registering output parameters
- 23.6. Setting
CallableStatement
input parameters - 23.7. Retrieving results and output parameter values
- 23.8. Retrieving
AUTO_INCREMENT
column values usingStatement.getGeneratedKeys()
- 23.9. Retrieving
AUTO_INCREMENT
column values usingSELECT LAST_INSERT_ID()
- 23.10. Retrieving
AUTO_INCREMENT
column values inUpdatable ResultSets
- 23.11. Using a connection pool with a J2EE application server
- 23.12. Example of transaction with retry logic