26.1.9.4. Connection Parameters
You can specify the following parameters for MyODBC in the
[Data Source Name]
section of an
ODBC.INI
file or through the
InConnectionString
argument in the
SQLDriverConnect()
call.
The option
argument is used to tell MyODBC
that the client isn't 100% ODBC compliant. On Windows, you
normally select options by toggling the checkboxes in the
connection screen, but you can also select them in the
option
argument. The following options are
listed in the order in which they appear in the MyODBC connect
screen:
To select multiple options, add together their values. For
example, setting option
to 12 (4+8) gives you
debugging without packet limits.
The default myodbc3.dll
is compiled for
optimal performance. If you want to debug MyODBC 3.51 (for
example, to enable tracing), you should instead use
myodbc3d.dll
. To install this file, copy
myodbc3d.dll
over the installed
myodbc3.dll
file. Make sure to revert back
to the release version of the driver DLL once you are done with
the debugging because the debug version may cause performance
issues. Note that the myodbc3d.dll
isn't
included in MyODBC 3.51.07 through 3.51.11. If you are using one
of these versions, you should copy that DLL from a previous
version (for example, 3.51.06).
For MyODBC 2.50, myodbc.dll
and
myodbcd.dll
are used instead.
The following table shows some recommended
option
values for various configurations: