Oracle 5.0 Reference Manual page 1462

Table of Contents

Advertisement

replication slaves are covered separately, as are options and variables relating to binary logging. A set
of quick-reference tables providing basic information about these options and variables is also included
(in the next section following this one).
Of particular importance is the
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
This option is common to both master and slave replication servers, and is used in replication to
enable master and slave servers to identify themselves uniquely. For additional information, see
Section 16.1.2.2, "Replication Master Options and
Options and
On the master and each slave, you must use the
replication ID in the range from 1 to 2
other ID in use by any other replication master or slave. Example: server-id=3.
If you omit
--server-id
all slaves, and a slave refuses to connect to a master. For more information, see
"Setting the Replication Slave
16.1.2.1. Replication and Binary Logging Option and Variable Reference
The following tables list basic information about the MySQL command-line options and system
variables applicable to replication and the binary log.
Table 16.1. Replication Options and Variables: MySQL 5.0
Option or Variable Name
Com_change_master [523]
Com_show_master_status [523]
Com_show_new_master [523]
Com_show_slave_hosts [523]
Com_show_slave_status [523]
Com_slave_start [523]
Replication and Binary Logging Options and Variables
--server-id
--server-id=#
server-id
Yes,
server_id
server_id
Global
Yes
Permitted Values
Type
Default
Range
Variables".
[1442], the default ID is 0, in which case a master refuses connections from
Configuration".
[1442]
option.
[491]
numeric
0
0 .. 4294967295
Variables", and
--server-id
32
– 1. "Unique", means that each ID must be different from every
1442
Section 16.1.2.3, "Replication Slave
[1442]
option to establish a unique
Section 16.1.1.2,
Command
System
Line
Variable
Option
Status
File
Variable
N
N
N
Y
N
N
N
Y
N
N
N
Y
N
N
N
Y
N
N
N
Y
N
N
Scope
Dynamic
Both
N
Both
N
Both
N
Both
N
Both
N
Both

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents