Oracle 5.0 Reference Manual page 1475

Table of Contents

Advertisement

Replication and Binary Logging Options and Variables
The user name of the account that the slave thread uses for authentication when it connects to
the master. This account must have the
file takes precedence if it can be read. If the master user name is not set, the name
master.info
is assumed.
test
--max-relay-log-size=size
The size at which the server rotates relay log files automatically. For more information, see
Section 16.2.2, "Replication Relay and Status
[1455]
--read-only
Cause the slave to permit no updates except from slave threads or from users having the
[578]
privilege. On a slave server, this can be useful to ensure that the slave accepts updates
SUPER
only from its master server and not from clients. This variable does not apply to
--relay-log=file_name
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
The basename for the relay log. The default basename is host_name-relay-bin. The server
writes the file in the data directory unless the basename is given with a leading absolute path name
to specify a different directory. The server creates relay log files in sequence by adding a numeric
suffix to the basename.
Due to the manner in which MySQL parses server options, if you specify this option, you must supply
a value; the default basename is used only if the option is not actually specified. If you use the
[1455]
option without specifying a value, unexpected behavior is likely to result; this
relay-log
behavior depends on the other options used, the order in which they are specified, and whether
they are specified on the command line or in an option file. For more information about how MySQL
handles server options, see
If you specify this option, the value specified is also used as the basename for the relay log index file.
You can override this behavior by specifying a different relay log index file basename using the
relay-log-index
You may find the
--relay-log
• Creating relay logs whose names are independent of host names.
• If you need to put the relay logs in some area other than the data directory because your relay logs
tend to be very large and you do not want to decrease
• To increase speed by using load-balancing between disks.
--relay-log-index=file_name
Permitted Values
Type
string
Default
test
REPLICATION SLAVE
[1455]
[1455]
--relay-log=name
relay-log
Yes,
relay_log
relay-log
Global
No
Permitted Values
Type
file name
Section 4.2.3, "Specifying Program
[1455]
option.
[1455]
option useful in performing the following tasks:
[1455]
1455
[577]
Logs". The default size is 1GB.
[1464]
Options".
max_relay_log_size
privilege. The value in the
TEMPORARY
[470].
tables.
--
--

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents