| 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 |
start slave; |
| 18 |
Sync Slave with master |
| 19 |
Show that Slave has not stopped (has skipped GAP) |
| 20 |
Slave_IO_Running = 'Yes' |
| 21 |
Slave_SQL_Running = 'Yes' |
| 22 |
Last_Errno = '0' |
| 23 |
Last_Error = '' |
| 24 |
Show that replication can continue |
| 25 |
insert into t1 values (1001, 1001); |
| 26 |
select count(*) from t1; |
| 27 |
count(*) |
| 28 |
1001 |
| 29 |
drop table t1; |
| 30 |
include/rpl_end.inc |