MySQL 5.0 Reference Manual
|  | Next

# MySQL 5.0 Reference Manual

Copyright 1997-2007 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 Web site 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 `<docs@mysql.com>` for more information.

Abstract

This is the MySQL Reference Manual. It documents MySQL 5.0 through 5.0.34.

This manual is for MySQL Enterprise Server, our commercial offering, and for MySQL Community Server. Sections that do not apply for MySQL Enterprise Server users are marked:

This section does not apply to MySQL Enterprise Server users.

Sections that do not apply to MySQL Community Server users are marked:

This section does not apply to MySQL Community Server users.

Document generated on: 2007-02-11 (revision: 4891)

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 using `Statement.getGeneratedKeys()`
23.9. Retrieving `AUTO_INCREMENT` column values using `SELECT LAST_INSERT_ID()`
23.10. Retrieving `AUTO_INCREMENT` column values in `Updatable ResultSets`
23.11. Using a connection pool with a J2EE application server
23.12. Example of transaction with retry logic

|  | Next
|  | Preface