| 1 |
include/master-slave.inc |
| 2 |
Warnings: |
| 3 |
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 4 |
Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information. |
| 5 |
[connection master] |
| 6 |
create table t1(pk int not null primary key, i int) engine = ndb; |
| 7 |
select count(*) from t1; |
| 8 |
count(*) |
| 9 |
1000 |
| 10 |
Restarting mysqld |
| 11 |
# restart |
| 12 |
include/rpl_reconnect.inc |
| 13 |
include/show_binlog_events.inc |
| 14 |
Log_name Pos Event_type Server_id End_log_pos Info |
| 15 |
master-bin.000002 # Incident # # #1 (LOST_EVENTS) |
| 16 |
master-bin.000002 # Rotate # # master-bin.000003;pos=POS |
| 17 |
drop table if exists t1; |
| 18 |
Get IO thread to reconnect to Master |
| 19 |
start slave; |
| 20 |
include/wait_for_slave_sql_error.inc [errno=13119] |
| 21 |
Last_SQL_Error = 'The incident LOST_EVENTS occurred on the source. Message: mysqld startup' |
| 22 |
Slave_IO_Running = 'Yes' |
| 23 |
Slave_SQL_Running = 'No' |
| 24 |
Last_Errno = '13119' |
| 25 |
Last_Error = 'The incident LOST_EVENTS occurred on the source. Message: mysqld startup' |
| 26 |
drop table if exists t1; |
| 27 |
include/stop_slave_io.inc |
| 28 |
RESET SLAVE; |
| 29 |
Warnings: |
| 30 |
Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead |
| 31 |
include/rpl_end.inc |