Oracle 5.0 Reference Manual page 1483

Table of Contents

Advertisement

Replication and Binary Logging Options and Variables
Variable Name
Variable Scope
Dynamic Variable
The number of seconds to wait for more data from the master before the slave considers the
connection broken, aborts the read, and tries to reconnect. The first retry occurs immediately after
the timeout. The interval between retries is controlled by the
master-connect-retry
--master-retry-count
--slave-skip-errors=[err_code1,err_code2,...|all]
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
Normally, replication stops when an error occurs on the slave. This gives you the opportunity to
resolve the inconsistency in the data manually. This option tells the slave SQL thread to continue
replication when a statement returns any of the errors listed in the option value.
Do not use this option unless you fully understand why you are getting errors. If there are no
bugs in your replication setup and client programs, and no bugs in MySQL itself, an error that
stops replication should never occur. Indiscriminate use of this option results in slaves becoming
hopelessly out of synchrony with the master, with you having no idea why this has occurred.
For error codes, you should use the numbers provided by the error message in your slave error
log and in the output of
Problems, lists server error codes.
You can also (but should not) use the very nonrecommended value of
ignore all error messages and keeps going regardless of what happens. Needless to say, if you use
all, there are no guarantees regarding the integrity of your data. Please do not complain (or file bug
reports) in this case if the slave's data is not anywhere close to what it is on the master. You have
been warned.
Examples:
--slave-skip-errors=1062,1053
--slave-skip-errors=all
slave_net_timeout
Global
Yes
Permitted Values
Type
numeric
Default
3600
Min
1
Value
[1453]
option and the number of reconnection attempts is limited by the
[1454]
option. The default is 3600 seconds (one hour).
--slave-skip-errors=name
slave-skip-errors
Yes,
slave_skip_errors
slave_skip_errors
Global
No
Permitted Values
Type
string
Default
OFF
Valid
[list of error codes]
Values
all
SHOW SLAVE
STATUS.
1463
CHANGE MASTER TO
[1463]
[1466]
Appendix C, Errors, Error Codes, and Common
all
statement or
--
to cause the slave to

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents