Connector/Net Connection String Options Reference
1939
Name
Default
Description
Logging
false
When true, various pieces of information is output to
any configured TraceListeners. See
Section 20.2.5.14,
“Using the MySQL Connector/Net Trace Source Object”
for further details.
Old Guids
,
OldGuids
false
This option was introduced in Connector/Net 6.1.1.
The backend representation of a GUID type was
changed from
BINARY(16)
to
CHAR(36)
. This was
done to allow developers to use the server function
UUID()
[967]
to populate a GUID table -
UUID()
generates a 36-character string. Developers of
older applications can add
'Old Guids=true'
to the connection string to use a GUID of data type
BINARY(16)
.
Old Syntax
,
OldSyntax
,
Use
Old Syntax
,
UseOldSyntax
false
This option was deprecated in Connector/Net 5.2.2. All
code should now be written using the '@' symbol as the
parameter marker.
Password
,
pwd
The password for the MySQL account being used.
Persist Security Info
,
PersistSecurityInfo
false
When set to
false
or
no
(strongly recommended),
security-sensitive information, such as the password, is
not returned as part of the connection if the connection
is open or has ever been in an open state. Resetting
the connection string resets all connection string
values, including the password. Recognized values are
true
,
false
,
yes
, and
no
.
Pipe Name
,
Pipe
,
PipeName
mysql
When set to the name of a named pipe, the
MySqlConnection
attempts to connect to MySQL
on that named pipe. This setting only applies to the
Windows platform.
Port
3306
The port MySQL is using to listen for connections. This
value is ignored if Unix socket is used.
Procedure Cache Size
,
ProcedureCacheSize
,
procedure cache
,
procedurecache
25
Sets the size of the stored procedure cache. By default,
Connector/Net stores the metadata (input/output data
types) about the last 25 stored procedures used. To
disable the stored procedure cache, set the value to
zero (0). This option was added in Connector/Net 5.0.2
and Connector/Net 1.0.9.
Protocol
,
Connection Protocol
,
ConnectionProtocol
socket
Specifies the type of connection to make to the server.
Values can be:
socket
or
tcp
for a socket connection,
pipe
for a named pipe connection,
unix
for a Unix
socket connection,
memory
to use MySQL shared
memory.
Replication
false
Indicates if this connection is to use replicated servers.
Respect Binary Flags
,
RespectBinaryFlags
true
Setting this option to
false
means that Connector/Net
ignores a column's binary flags as set by the server.
This option was added in Connector/Net version 5.1.3.
Shared Memory Name
,
SharedMemoryName
MYSQL
The name of the shared memory object to use for
communication if the connection protocol is set to
memory
.
Sql Server Mode
,
sqlservermode
false
Allow SQL Server syntax. When set to
true
, enables
Connector/Net to support square brackets around
symbols instead of backticks. This enables Visual
Studio wizards that bracket symbols with [] to work with
Содержание 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 ...