Connector/ODBC Support
1814
backup of your registry information before attempting any editing of the registry
contents.
Values Truncated to 255 Characters
When submitting queries with parameter binding using
UPDATE
, my field values are being truncated to
255 characters.
Ensure that the
FLAG_BIG_PACKETS
option is set for your connection. This removes the 255 character
limitation on bound parameters.
Disabling Data-At-Execution
Is it possible to disable data-at-execution using a flag?
If you do not want to use data-at-execution, remove the corresponding calls. For example:
SQLLEN ylen = SQL_LEN_DATA_AT_EXEC(10);
SQLBindCol(hstmt,2,SQL_C_BINARY, buf, 10, &ylen);
Would become:
SQLBindCol(hstmt,2,SQL_C_BINARY, buf, 10, NULL);
Note that in the call to
SQLBindCol()
, &ylen has been replaced by NULL.
For further information, refer to the
MSDN documentation
for
SQLBindCol()
.
NULLABLE Attribute for AUTO_INCREMENT Columns
When you call
SQLColumns()
for a table column that is
AUTO_INCREMENT
, the
NULLABLE
column of
the result set is always
SQL_NULLABLE (1)
.
This is because MySQL reports the
DEFAULT
value for such a column as
NULL
. It means, if you insert
a
NULL
value into the column, you will get the next integer value for the table's
auto_increment
counter.
20.1.8. Connector/ODBC Support
There are many different places where you can get support for using Connector/ODBC. Always try the
Connector/ODBC Mailing List or Connector/ODBC Forum. See
Section 20.1.8.1, “Connector/ODBC
Community Support”
, for help before reporting a specific bug or issue to MySQL.
20.1.8.1. Connector/ODBC Community Support
Oracle provides assistance to the user community by means of its mailing lists. For Connector/ODBC-
related issues, you can get help from experienced users by using the
mailing list. Archives are available online at
http://lists.mysql.com/myodbc
.
For information about subscribing to MySQL mailing lists or to browse list archives, visit
http://
lists.mysql.com/
. See
Section 1.6.1, “MySQL Mailing Lists”
.
Community support from experienced users is also available through the
ODBC Forum
. You may
also find help from other users in the other MySQL Forums, located at
http://forums.mysql.com
. See
Section 1.6.2, “MySQL Community Support at the MySQL Forums”
.
20.1.8.2. How to Report Connector/ODBC Problems or Bugs
If you encounter difficulties or problems with Connector/ODBC, start by making a log file from the
ODBC Manager
(the log you get when requesting logs from
ODBC ADMIN
) and Connector/ODBC. The
procedure for doing this is described in
Section 20.1.4.8, “Getting an ODBC Trace File”
.
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...