![background image](http://html1.mh-extra.com/html/oracle/5-0/5-0_reference-manual_16461961958.webp)
Connector/Net Connection String Options Reference
1938
Name
Default
Description
Exception Interceptors
,
ExceptionInterceptors
The list of interceptors that can triage thrown
MySqlException
exceptions.
Functions Return String
,
FunctionsReturnString
false
Causes the connector to return binary/varbinary values
as strings, if they do not have a tablename in the
metadata.
Host
,
Server
,
Data Source
,
DataSource
,
Address
,
Addr
,
Network Address
localhost The name or network address of the instance of
MySQL to which to connect. Multiple hosts can be
specified separated by commas. This can be useful
where multiple MySQL servers are configured for
replication and you are not concerned about the precise
server you are connecting to. No attempt is made by
the provider to synchronize writes to the database, so
take care when using this option. In Unix environment
with Mono, this can be a fully qualified path to a MySQL
socket file. With this configuration, the Unix socket is
used instead of the TCP/IP socket. Currently, only a
single socket name can be given, so accessing MySQL
in a replicated environment using Unix sockets is not
currently supported.
Ignore Prepare
,
IgnorePrepare
true
When true, instructs the provider to ignore any calls to
MySqlCommand.Prepare()
. This option is provided
to prevent issues with corruption of the statements
when used with server-side prepared statements. If you
use server-side prepare statements, set this option to
false. This option was added in Connector/Net 5.0.3
and Connector/Net 1.0.9.
includesecurityasserts
,
include security asserts
false
Must be set to
true
when using the
MySQLClientPermissions
class in a partial trust
environment, with the library installed in the GAC of
the hosting environment. This requirement is new for
partial-trust applications in Connector/Net 6.6.4 and
higher. See
Section 20.2.5.19, “Working with Partial
Trust / Medium Trust”
for details.
Initial Catalog
,
Database
mysql
The case-sensitive name of the database to use
initially.
Interactive
,
Interactive Session
,
InteractiveSession
false
If set to true, the client is interactive. An
interactive client is one where the server variable
CLIENT_INTERACTIVE
is set. If an interactive client
is set, the
wait_timeout
variable is set to the value
of
interactive_timeout
. The client will then time
out after this period of inactivity. For more details, see
Section 5.1.4, “Server System Variables”
in the MySQL
Reference Manual.
Integrated Security
,
IntegratedSecurity
no
Use Windows authentication when connecting to
server. By default, it is turned off. To enable, specify a
value of
yes
. (You can also use the value
sspi
as an
alternative to
yes
.) For details, see
Section 20.2.5.5,
“Using the Windows Native Authentication Plugin”
. This
option was introduced in Connector/Net 6.4.4.
Keep Alive
,
Keepalive
0
For TCP connections, idle connection time measured
in seconds, before the first keepalive packet is sent. A
value of 0 indicates that keepalive is not used.
Содержание 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 ...