Oracle 5.0 Reference Manual page 1470

Table of Contents

Advertisement

16.1.2.3. Replication Slave Options and Variables
This section describes the server options and system variables that apply to slave replication servers.
You can specify the options either on the
set while the server is running by using the
variable values using SET.
Server ID.
a unique replication ID in the range from 1 to 2
from every other ID in use by any other replication master or slave. Example
[mysqld]
server-id=3
Some slave server replication options are handled in a special way, in the sense that each is ignored
if a
master.info
options are handled this way:
--master-host
--master-user
--master-password
--master-port
--master-connect-retry
--master-ssl
--master-ssl-ca
--master-ssl-capath
--master-ssl-cert
--master-ssl-cipher
--master-ssl-key
The
master.info
(See
Section 16.2.2, "Replication Relay and Status
MySQL 4.1.1) to a newer version, the new server upgrades the
automatically when it starts. However, if you downgrade a newer server to a version older than 4.1.1,
you should manually remove the first line before starting the older server for the first time. Note that,
in this case, the downgraded server can no longer use an SSL connection to communicate with the
master.
If no
master.info
specified in option files or on the command line. This occurs when you start the server as a replication
slave for the very first time, or when you have run
restarted the slave.
If the
master.info
any startup options that correspond to the values listed in the file. Thus, if you start the slave server
with different values of the startup options that correspond to values in the
different values have no effect because the server continues to use the
different values, the preferred method is to use the
while the slave is running. Alternatively, you can stop the server, remove the
restart the server with different option values.
Suppose that you specify this option in your
[mysqld]
Replication and Binary Logging Options and Variables
On the master and each slave, you must use the
file exists when the slave starts and contains a value for the option. The following
[1453]
[1454]
[1453]
[1453]
[1453]
[1454]
[1454]
[1454]
[1454]
[1454]
[1454]
file format in MySQL 5.0 includes as its first line the number of lines in the file.
file exists when the slave server starts, it uses the values for those options that are
file exists when the slave server starts, the server uses its contents and ignores
command line
or in an
CHANGE MASTER TO
server-id
32
– 1. "Unique" means that each ID must be different
Logs".) If you upgrade an older server (before
master.info
RESET SLAVE
CHANGE MASTER TO
file:
my.cnf
1450
option
file. Many of the options can be
statement. You can specify system
[1442]
option to establish
file:
my.cnf
file to the new format
and then have shut down and
master.info
master.info
statement to reset the values
master.info
file, the
file. To use
file, and

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents