forked from facebook/mysql-5.6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
disabled_replication.result
58 lines (58 loc) · 5.24 KB
/
disabled_replication.result
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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_Symbolic_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 Master_SSL_Verify_Server_Cert Last_IO_Errno Last_IO_Error Last_SQL_Errno Last_SQL_Error Replicate_Ignore_Server_Ids Master_Server_Id Master_UUID Master_Info_File SQL_Delay SQL_Remaining_Delay Slave_SQL_Running_State Master_Retry_Count Master_Bind Last_IO_Error_Timestamp Last_SQL_Error_Timestamp Master_SSL_Crl Master_SSL_Crlpath Retrieved_Gtid_Set Executed_Gtid_Set Auto_Position Replicate_Rewrite_DB Channel_Name Master_TLS_Version Master_public_key_path Get_master_public_key Network_Namespace Slave_Lag_Stats_Thread_Running
Warnings:
Warning 1287 'SHOW SLAVE STATUS' is deprecated and will be removed in a future release. Please use SHOW REPLICA STATUS instead
RESET SLAVE;
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
SHOW RELAYLOG EVENTS;
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
STOP SLAVE;
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
START SLAVE;
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
SELECT SOURCE_POS_WAIT('non-existent', 0);
SOURCE_POS_WAIT('non-existent', 0)
NULL
CHANGE REPLICATION SOURCE TO SOURCE_CONNECT_RETRY = 1, SOURCE_HEARTBEAT_PERIOD = 1.01;
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
FLUSH LOGS;
FLUSH RELAY LOGS;
CHANGE REPLICATION FILTER REPLICATE_DO_DB=(db1);
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
CHANGE REPLICATION FILTER REPLICATE_IGNORE_DB=(db1);
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
CHANGE REPLICATION FILTER REPLICATE_DO_TABLE=(db1.t1);
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
CHANGE REPLICATION FILTER REPLICATE_IGNORE_TABLE=(db1.t1);
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
CHANGE REPLICATION FILTER REPLICATE_WILD_DO_TABLE=('db1.t%');
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
CHANGE REPLICATION FILTER REPLICATE_WILD_IGNORE_TABLE=('db1.t%');
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
CHANGE REPLICATION FILTER REPLICATE_REWRITE_DB=((db1,db2));
ERROR HY000: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
SET @@GLOBAL.master_info_repository= "TABLE";
SET @@GLOBAL.relay_log_info_repository= "TABLE";
SET @@GLOBAL.max_relay_log_size= 536870912;
SET @@GLOBAL.max_relay_log_size= 0;
SET @@GLOBAL.replica_net_timeout= 10;
SET @@GLOBAL.replica_net_timeout= 60;
SET @@GLOBAL.sql_replica_skip_counter= 10;
SET @@GLOBAL.sql_replica_skip_counter= 0;
SET @@SESSION.sql_log_bin= 0;
SET @@SESSION.sql_log_bin= 1;
SHOW MASTER LOGS;
ERROR HY000: You are not using binary logging
SHOW MASTER STATUS;
File Position Binlog_Do_DB Binlog_Ignore_DB Executed_Gtid_Set
SHOW SLAVE HOSTS;
Server_id Host Port Master_id Slave_UUID Is_semi_sync_slave Replication_status
Warnings:
Warning 1287 'SHOW SLAVE HOSTS' is deprecated and will be removed in a future release. Please use SHOW REPLICAS instead
RESET MASTER;
SHOW BINLOG EVENTS;
Log_name Pos Event_type Server_id End_log_pos Info
FLUSH LOGS;
FLUSH BINARY LOGS;
SET @@GLOBAL.max_binlog_size= 536870912;
SET @@GLOBAL.max_binlog_size= 1073741824;