Server System Variables
478
up to
max_allowed_packet
[466]
bytes as needed. The result buffer shrinks to
net_buffer_length
[477]
after each SQL statement.
This variable should not normally be changed, but if you have very little memory, you can set it to the
expected length of statements sent by clients. If statements exceed this length, the connection buffer
is automatically enlarged. The maximum value to which
net_buffer_length
[477]
can be set is
1MB.
As of MySQL 5.0.84, the session value of this variable is read only. Before 5.0.84, setting the
session value is permitted but has no effect.
•
net_read_timeout
[478]
Command-Line Format
--net_read_timeout=#
Option-File Format
net_read_timeout
Option Sets Variable
Yes,
net_read_timeout
[478]
Variable Name
net_read_timeout
Variable Scope
Global, Session
Dynamic Variable
Yes
Permitted Values
Type
numeric
Default
30
Min
Value
1
The number of seconds to wait for more data from a connection before aborting the read.
This timeout applies only to TCP/IP connections, not to connections made through Unix
socket files, named pipes, or shared memory. When the server is reading from the client,
net_read_timeout
[478]
is the timeout value controlling when to abort. When the server is
writing to the client,
net_write_timeout
[479]
is the timeout value controlling when to abort.
See also
slave_net_timeout
[1466]
.
On Linux, the
NO_ALARM
build flag affects timeout behavior as indicated in the description of the
net_retry_count
[478]
system variable.
•
net_retry_count
[478]
Command-Line Format
--net_retry_count=#
Option-File Format
net_retry_count
Option Sets Variable
Yes,
net_retry_count
[478]
Variable Name
net_retry_count
Variable Scope
Global, Session
Dynamic Variable
Yes
Permitted Values
Platform
Bit Size
32
Type
numeric
Default
10
Range
1 .. 4294967295
Permitted Values
Содержание 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 ...