| 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 |
[connection slave] |
| 7 |
CALL mtr.add_suppression('Server id not set, will not start replica'); |
| 8 |
CALL mtr.add_suppression('Replica is not configured or failed to initialize properly'); |
| 9 |
include/assert.inc [slave's server_id was greater than 0 at startup] |
| 10 |
[connection master] |
| 11 |
CREATE TABLE t1 (c1 INT) ENGINE=InnoDB; |
| 12 |
include/sync_slave_sql_with_master.inc |
| 13 |
include/stop_slave.inc |
| 14 |
SET @@GLOBAL.server_id= 0; |
| 15 |
START SLAVE; |
| 16 |
ERROR HY000: The server is not configured as replica; fix in config file or with CHANGE REPLICATION SOURCE TO |
| 17 |
include/assert_grep.inc [Slave didn't started because of server_id=0] |
| 18 |
CHANGE REPLICATION SOURCE TO SOURCE_LOG_POS=4; |
| 19 |
START SLAVE FOR CHANNEL 'any_channel'; |
| 20 |
ERROR HY000: Replica channel 'any_channel' does not exist. |
| 21 |
CHANGE REPLICATION SOURCE TO SOURCE_LOG_POS=4, SOURCE_HOST='127.0.0.1' FOR CHANNEL 'any_channel'; |
| 22 |
START SLAVE FOR CHANNEL 'any_channel'; |
| 23 |
ERROR HY000: The server is not configured as replica; fix in config file or with CHANGE REPLICATION SOURCE TO |
| 24 |
include/assert_grep.inc [Slave for channel didn't started because of server_id=0] |
| 25 |
RESET SLAVE ALL FOR CHANNEL 'any_channel'; |
| 26 |
Warnings: |
| 27 |
Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead |
| 28 |
DROP TABLE t1; |
| 29 |
SET @@GLOBAL.server_id= 2; |
| 30 |
include/start_slave.inc |
| 31 |
[connection master] |
| 32 |
include/sync_slave_sql_with_master.inc |
| 33 |
include/rpl_restart_server.inc [server_number=2 parameters: --server-id=0] |
| 34 |
[connection slave] |
| 35 |
include/assert.inc [slave's server_id was 0 at startup] |
| 36 |
START SLAVE; |
| 37 |
ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log. |
| 38 |
CHANGE REPLICATION SOURCE TO SOURCE_LOG_POS=4; |
| 39 |
ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log. |
| 40 |
START SLAVE FOR CHANNEL 'any_channel'; |
| 41 |
ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log. |
| 42 |
CHANGE REPLICATION SOURCE TO SOURCE_LOG_POS=4 FOR CHANNEL 'any_channel'; |
| 43 |
ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log. |
| 44 |
SET @@GLOBAL.server_id= 2; |
| 45 |
START SLAVE; |
| 46 |
ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log. |
| 47 |
CHANGE REPLICATION SOURCE TO SOURCE_LOG_POS=4; |
| 48 |
ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log. |
| 49 |
START SLAVE FOR CHANNEL 'any_channel'; |
| 50 |
ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log. |
| 51 |
CHANGE REPLICATION SOURCE TO SOURCE_LOG_POS=4 FOR CHANNEL 'any_channel'; |
| 52 |
ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log. |
| 53 |
SET PERSIST server_id=2; |
| 54 |
include/rpl_restart_server.inc [server_number=2 parameters: --server-id=0 --skip_replica_start=0] |
| 55 |
include/check_slave_is_running.inc |
| 56 |
include/check_slave_no_error.inc |
| 57 |
[connection master] |
| 58 |
DROP TABLE t1; |
| 59 |
include/rpl_end.inc |