If on the master a
LOAD DATA
INFILE is interrupted (for example, by a integrity
constraint violation or a killed connection), the slave skips
this LOAD DATA
INFILE entirely. This means that if this statement
permanently inserted or updated table records before being
interrupted, these modifications are not
replicated to the slave.
In addition, LOAD
DATA INFILE does not replicate correctly when
--binlog-do-db is used. (Bug
#19662)
LOAD DATA
INFILE also does not replicate well from 4.0 and
earlier masters to 5.1 or later slaves. In such cases, it is
best to upgrade the master to 5.0 or later. (Bug #31240)
The LOAD DATA
INFILE statement CONCURRENT option
is not replicated; that is, LOAD DATA CONCURRENT
INFILE is replicated as
LOAD DATA
INFILE, and LOAD DATA CONCURRENT LOCAL
INFILE is replicated as
LOAD DATA LOCAL
INFILE. (Bug #34628)
When a 4.x slave replicates a
LOAD DATA
INFILE from a 3.23 master, the values of the
Exec_Master_Log_Pos and
Relay_Log_Space columns of
SHOW SLAVE STATUS become
incorrect. The inaccuracy in
Exec_Master_Log_Pos causes problems when you
stop and restart replication, so it is a good idea to correct
the value before this by executing
FLUSH LOGS on
the master.
The following problems with replication in MySQL 3.23 are fixed in MySQL 4.0:
LOAD DATA
INFILE is handled properly, as long as the data
file still resides on the master server at the time of
update propagation.
LOAD DATA LOCAL
INFILE is no longer skipped on the slave as it was
in 3.23.

User Comments
Add your own comment.