MINI MINI MANI MO
include/master-slave.inc
Warnings:
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection master]
create table t1(pk int not null primary key, i int) engine = ndb;
select count(*) from t1;
count(*)
1000
Restarting mysqld
# restart
include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000002 # Incident # # #1 (LOST_EVENTS)
master-bin.000002 # Rotate # # master-bin.000003;pos=POS
drop table if exists t1;
Get IO thread to reconnect to Master
start slave;
include/wait_for_slave_sql_error.inc [errno=1590]
Last_SQL_Error = 'The incident LOST_EVENTS occured on the master. Message: mysqld startup'
Warnings:
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
Slave_IO_Running = 'Yes'
Slave_SQL_Running = 'No'
Last_Errno = '1590'
Last_Error = 'The incident LOST_EVENTS occured on the master. Message: mysqld startup'
Warnings:
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
drop table if exists t1;
include/stop_slave_io.inc
RESET SLAVE;
OHA YOOOO