📄 rpl_replicate_do.result
字号:
stop slave;drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;reset master;reset slave;drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;start slave;drop table if exists t11;drop table if exists t11;create table t2 (n int);insert into t2 values(4);create table t2 (s char(20));load data infile '../std_data_ln/words.dat' into table t2;insert into t2 values('five');create table t1 (m int);insert into t1 values(15),(16),(17);update t1 set m=20 where m=16;delete from t1 where m=17;create table t11 select * from t1;select * from t1;m1520select * from t2;n4select * from t11;ERROR 42S02: Table 'test.t11' doesn't existdrop table if exists t1,t2,t11;show slave status;Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master# 127.0.0.1 root MASTER_PORT 1 master-bin.000001 1658 # # master-bin.000001 Yes Yes test.t1 0 0 1658 # None 0 No #create table t1 (ts timestamp);set one_shot time_zone='met';insert into t1 values('2005-08-12 00:00:00');set one_shot time_zone='met';select * from t1;ts2005-08-12 00:00:00set one_shot time_zone='met';select * from t1;ts2005-08-12 00:00:00drop table t1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -