Server System Variables
491
Option Sets Variable
Yes,
secure_file_priv
[490]
Variable Name
secure-file-priv
Variable Scope
Global
Dynamic Variable
No
Permitted Values
Type
string
By default, this variable is empty. If set to the name of a directory, it limits the effect of the
LOAD_FILE()
[890]
function and the
LOAD DATA
and
SELECT ... INTO OUTFILE
statements
to work only with files in that directory.
This variable was added in MySQL 5.0.38.
•
server_id
[491]
Command-Line Format
--server-id=#
Option-File Format
server-id
Option Sets Variable
Yes,
server_id
[491]
Variable Name
server_id
Variable Scope
Global
Dynamic Variable
Yes
Permitted Values
Type
numeric
Default
0
Range
0 .. 4294967295
The server ID, used in replication to give each master and slave a unique identity. This variable is set
by the
--server-id
[1442]
option. For each server participating in replication, you should pick a
positive integer in the range from 1 to 2
32
– 1 to act as that server's ID.
•
shared_memory
[491]
Variable Name
shared_memory
Variable Scope
Global
Dynamic Variable
No
Platform Specific
windows
(Windows only.) Whether the server permits shared-memory connections.
•
shared_memory_base_name
[491]
Variable Name
shared_memory_base_name
Variable Scope
Global
Dynamic Variable
No
Platform Specific
windows
(Windows only.) The name of shared memory to use for shared-memory connections. This is useful
when running multiple MySQL instances on a single physical machine. The default name is
MYSQL
.
The name is case sensitive.
•
skip_external_locking
[491]
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...