| CARVIEW |
The world's most popular open source database
- Documentation Library
- Table of Contents
- MySQL 6.0 Reference Manual
- MySQL 5.1 Reference Manual
- MySQL 5.0 Reference Manual
- MySQL 3.23/4.0/4.1 Manual
- Table of Contents
- 20 Connectors and APIs
- 20.1 MySQL Connector/ODBC
- 20.2 MySQL Connector/NET
- 20.3 MySQL Visual Studio Plugin
- 20.4 MySQL Connector/J
- 20.5 MySQL Connector/MXJ
- 20.6 MySQL Connector/C++
- 20.7 MySQL Connector/OpenOffice.org
- 20.8 libmysqld, the Embedded MySQL Server Library
- 20.9 MySQL C API
- 20.10 MySQL PHP API
- 20.11 MySQL Perl API
- 20.12 MySQL C++ API
- 20.13 MySQL Python API
- 20.14 MySQL Ruby APIs
- 20.15 MySQL Tcl API
- 20.16 MySQL Eiffel Wrapper
[+/-]
- 20.6.1. MySQL Connector/C++ Installation
- 20.6.2. MySQL Connector/C++ Getting Started: Usage Examples
- 20.6.3. MySQL Connector/C++ Debug Tracing
- 20.6.4. MySQL Connector/C++ References
- 20.6.5. MySQL Connector/C++ Known Bugs
- 20.6.6. MySQL Connector/C++ Feature requests
- 20.6.7. MySQL Connector/C++ Contact
Caution
Please note, official support is not available for the alpha version of MySQL Connector/C++.
MySQL Connector/C++ is a MySQL database connector for C++.
The MySQL Connector/C++ is licensed under the terms of the GPL, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPL as it is applied to this software, see FLOSS License Exception. If you need a non-GPL license for commercial distribution please contact us.
The MySQL Connector/C++ is compatible with the JDBC 4.0 API. However, Connector/C++ does not implement all of the JDBC 4.0 API. The Connector/C++ preview features the following classes:
ConnectionDatabaseMetaDataDriverPreparedStatementResultSetResultSetMetaDataSavepointStatement
The JDBC 4.0 API defines approximately 450 methods for the above mentioned classes. Connector/C++ implements around 75% of these and makes them available in the preview release.
The alpha release has been successfully compiled and tested on the following platforms:
AIX
5.2 (PPC32, PPC64)
5.3 (PPC32, PPC64)
FreeBSD
6.0 (x86, x86_64)
HPUX
11.23 (ia64)
i5OS (PPC32, PPC64)
Linux
Debian 3.1 (PPC32, x86)
FC4 (x86)
RHEL 3 (ia64, x86, x86_64)
RHEL 4 (ia64, x86, x86_64)
RHEL 5 (ia64, x86, x86_64)
SLES 9 (ia64, x86, x86_64)
SLES 10 (ia64, x86_64)
SuSE 10.3, (x86_64)
Ubuntu 8.04 (x86)
Ubuntu 8.10 (x86_64)
Mac
MacOSX 10.3 (PPC32, PPC64)
MacOSX 10.4 (PPC32, PPC64, x86)
MacOSX 10.5 (PPC32, PPC64, x86, x86_64)
SunOS
Solaris 8 (SPARC32, SPARC64, x86)
Solaris 9 (SPARC32, SPARC64, x86)
Solaris 10 (SPARC32, SPARC64, x86, x86_64)
Windows
XP Professional (32bit)
2003 (64bit)
Future versions will run on all platforms supported by the MySQL Server.
Note
Connector C/C++ supports MySQL 5.0 and later.
MySQL Connector/C++ Download
You can download the source code for the MySQL Connector/C++ preview release at the download site.
MySQL Connector/C++ Source repository
The latest development version is also available through Launchpad.
Bazaar is used for the MySQL Connector/C++ code repository. You can check out the source code using the bzr command line tool:
shell> bzr branch lp:~mysql/mysql-connector-cpp/trunk .
MySQL Connector/C++ Advantages
Using MySQL Connector/C++ instead of the MySQL C API (MySQL Client Library) offers the following advantages for C++ users:
Convenience of pure C++, no C function calls required
Supports an industry standard API, JDBC 4.0
Supports the object-oriented programming paradigm
Reduces development time
Connector/C++ is licensed under the GPL with the FLOSS License Exception
Connector/C++ is available under a commercial license upon request
MySQL Connector/C++ Status
MySQL Connector/C++ is available as a development preview version. We kindly ask users and developers to try it out and provide us with feedback. We do not encourage you to use it in production environments.
Note that MySQL Workbench is successfully using a pre-alpha snapshot.
Note
Sun Microsystems does not provide formal support for MySQL Connector/C++.
If you have any queries please contact us.


User Comments
Add your own comment.