# OTL 4.0, Examples for MySQL / MyODBC 2.5

The examples below work with MySQL via MyODBC 2.5. In general, all of these examples should work with any more or less recent versions of MySQL, when MyODBC 2.5 is enabled in OTL by setting #define OTL_ODBC_MYSQL . For more examples, see the Generic ODBC examples.

1. Example 78 (Simple Insert/Select/Update, MyODBC 2.50)
2. Example 79 ("Incompatible datatypes in stream operation" exception, MyODBC 2.50)
3. Example 80 (otl_datetime container and datetime/date table columns, MyODBC 2.50)
4. Example 81 (otl_long_string container and LONGTEXT column, MyODBC 2.50)
5. Example 82 (otl_long_string container and LONGBLOB column, MyODBC 2.50)
6. Example 83 (std::string and STL-compliant stream iterators, MyODBC 2.50)
7. Example 84 (otl_stream::describe_select() with a simple Select, MyODBC 2.50)
8. Example 128 (Insert/Update/Select with MySQL LONGTEXT in stream mode)
9. Example 129 (Insert/Update/Select with MySQL LONGBLOB in stream mode)
10. Example 215 (OTL_ADD_NULL_TERMINATOR_STRING_SIZE, MySQL)

Prev Next Contents Go Home

Copyright © 1996, 2007, Sergei Kuchin, email: skuchin@ispwest.com, skuchin@gmail.com
.

Permission to use, copy, modify and redistribute this document for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies.