mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-01 18:25:59 +00:00

- Adjusted sandbox scripts, so they can start MySQL 8.4 - Added MySQL 8.4 configuration file - Removed empty file sandbox/5.6 - Removed unused files sandbox/set-mysql, sandbox/slave_channels_t.sql, sandbox/jenkins-test - Removed offensive terminology from the sandbox scripts wherever it is possible
16 lines
682 B
SQL
16 lines
682 B
SQL
STOP SLAVE FOR CHANNEL '';
|
|
SET GLOBAL master_info_repository = 'TABLE';
|
|
SET @@GLOBAL.relay_log_info_repository = 'TABLE';
|
|
SET @@GLOBAL.ENFORCE_GTID_CONSISTENCY=ON;
|
|
SET @@GLOBAL.GTID_MODE = OFF_PERMISSIVE;
|
|
SET @@GLOBAL.GTID_MODE = ON_PERMISSIVE;
|
|
SET @@GLOBAL.GTID_MODE = ON;
|
|
|
|
CHANGE MASTER TO master_host='127.0.0.1', master_port=12345, master_user='msandbox', master_password='msandbox', master_auto_position=1 FOR CHANNEL 'sourcechan1';
|
|
|
|
CHANGE MASTER TO master_host='127.0.0.1', master_port=12346, master_user='msandbox', master_password='msandbox', master_auto_position=1 FOR CHANNEL 'sourcechan2';
|
|
|
|
START SLAVE for channel 'sourcechan1';
|
|
START SLAVE for channel 'sourcechan2';
|
|
|