2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
1
include/master-slave.inc
7
3
call mtr.add_suppression ("Slave I/O: Got fatal error 1236 from master when reading data from binary");
9
5
File Position Binlog_Do_DB Binlog_Ignore_DB
10
6
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
11
7
include/stop_slave.inc
12
change master to master_log_pos=75;
17
Master_Port MASTER_PORT
19
Master_Log_File master-bin.000001
23
Relay_Master_Log_File master-bin.000001
29
Replicate_Ignore_Table #
30
Replicate_Wild_Do_Table
31
Replicate_Wild_Ignore_Table
46
Seconds_Behind_Master #
47
Master_SSL_Verify_Server_Cert No
8
change master to master_log_pos=MASTER_LOG_POS;
9
Read_Master_Log_Pos = '75'
53
include/stop_slave.inc
58
Master_Port MASTER_PORT
60
Master_Log_File master-bin.000001
61
Read_Master_Log_Pos 75
64
Relay_Master_Log_File master-bin.000001
70
Replicate_Ignore_Table #
71
Replicate_Wild_Do_Table
72
Replicate_Wild_Ignore_Table
76
Exec_Master_Log_Pos 75
87
Seconds_Behind_Master #
88
Master_SSL_Verify_Server_Cert No
11
include/wait_for_slave_io_error.inc [errno=1236]
12
Last_IO_Error = 'Got fatal error 1236 from master when reading data from binary log: 'log event entry exceeded max_allowed_packet; Increase max_allowed_packet on master''
13
include/stop_slave_sql.inc
93
14
show master status;
94
15
File Position Binlog_Do_DB Binlog_Ignore_DB
95
16
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
97
18
drop table if exists t1;
98
19
create table t1 (n int);
99
20
insert into t1 values (1),(2),(3);
100
change master to master_log_pos=4;
21
change master to master_log_pos=MASTER_LOG_POS;
102
23
select * from t1 ORDER BY n;