Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
By default, this variable is empty. If set to the name of a directory, it limits the effect of the
[890]
LOAD_FILE()
to work only with files in that directory.
This variable was added in MySQL 5.0.38.
•
[491]
server_id
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
The server ID, used in replication to give each master and slave a unique identity. This variable is set
by the
--server-id
positive integer in the range from 1 to 2
•
[491]
shared_memory
Variable Name
Variable Scope
Dynamic Variable
Platform Specific
(Windows only.) Whether the server permits shared-memory connections.
•
shared_memory_base_name
Variable Name
Variable Scope
Dynamic Variable
Platform Specific
(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
Server System Variables
Yes,
secure_file_priv
secure-file-priv
Global
No
Permitted Values
Type
string
function and the
LOAD DATA
--server-id=#
server-id
Yes,
server_id
server_id
Global
Yes
Permitted Values
Type
numeric
Default
0
Range
0 .. 4294967295
[1442]
option. For each server participating in replication, you should pick a
32
– 1 to act as that server's ID.
shared_memory
Global
No
windows
[491]
shared_memory_base_name
Global
No
windows
491
[491]
[490]
and
SELECT ... INTO OUTFILE
[491]
statements