Nytro Posted May 8, 2011 Report Posted May 8, 2011 Developing Database Applications Using MySQL Connector/C++This tutorial will show you the essential steps to build and install MySQL Connector/C++ driver, with simple examples to connect, insert, and retrieve data from a MySQL database. Because the focus is on database connectivity from a C++ application, this document assumes that some kind of MySQL database is already up and accessible from the client machine.Application developers who are new to MySQL Connector/C++ but not to C++ programming and MySQL database, are the target audience of this tutorial.Listed below are the tools and technologies used to compile, build and run the examples in this tutorial.Database MySQL Server 5.1.24-rcC++ Driver MySQL Connector/C++ 1.0.5MySQL Client Library MySQL Connector/C 6.0Compiler Sun Studio 12 C++ compilerMake CMake 2.6.3Operating System OpenSolaris 2008.11 32-bitCPU / ISA Intel Centrino / x86Hardware Toshiba Tecra M2 LaptopCONTENTS MySQL C++ Driver Based on JDBC 4.0 Specification Installing MySQL Connector/C++ Runtime Dependencies IDE for Developing C++ Applications Create the City Table in the test Database for Code Examples Testing the MySQL Database Connectivity With the Connector/C++ Using Prepared Statements Using Transactions Accessing Result Set Metadata Accessing Database Metadata Accessing Parameter Metadata from a PreparedStatement Object Catching Exceptions Debug Tracing with MySQL Connector/C++ For More InformationTutorial:http://dev.mysql.com/tech-resources/articles/mysql-connector-cpp.html Quote