Server IP : 104.21.38.3 / Your IP : 172.71.152.64 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/mysql-test/suite/rpl/r/ |
Upload File : |
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] [connection slave] call mtr.add_suppression("Recovery from master pos .*"); call mtr.add_suppression("Corrupted table mysql.slave_worker_info"); call mtr.add_suppression("Could not delete from Slave Workers info repository"); include/stop_slave.inc RESET SLAVE ALL; SET @@global.master_info_repository="TABLE"; SET @@global.relay_log_info_repository="TABLE"; SET @save.slave_parallel_workers=@@global.slave_parallel_workers; SET @@global.slave_parallel_workers=2; CHANGE MASTER TO MASTER_HOST='localhost', MASTER_USER='root', MASTER_PORT=MASTER_PORT FOR CHANNEL 'ch_a'; Warnings: Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. Note 1760 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. CHANGE MASTER TO MASTER_HOST='dummy_host', MASTER_USER='root', MASTER_PORT=13010 FOR CHANNEL 'ch_b'; Warnings: Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. Note 1760 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. START SLAVE; STOP SLAVE FOR CHANNEL 'ch_b'; RESET SLAVE FOR CHANNEL 'ch_b'; STOP SLAVE FOR CHANNEL 'ch_a'; ALTER TABLE mysql.slave_worker_info DROP PRIMARY KEY; RESET SLAVE ALL FOR CHANNEL 'ch_a'; ERROR HY000: Unknown error ALTER TABLE mysql.slave_worker_info ADD PRIMARY KEY (`channel_name`,`id`); DELETE FROM mysql.slave_worker_info WHERE channel_name like 'ch_a'; STOP SLAVE IO_THREAD; Warnings: Note 3084 Replication thread(s) for channel 'ch_a' are already stopped. Note 3084 Replication thread(s) for channel 'ch_b' are already stopped. CHANGE MASTER TO MASTER_HOST='localhost', MASTER_USER='root', MASTER_PORT=MASTER_PORT FOR CHANNEL 'ch_b'; Warnings: Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. Note 1760 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. include/assert.inc [Two workers are expected to survive the last RESET SLAVE] include/start_slave.inc === RESTART SERVER === include/rpl_restart_server.inc [server_number=1 parameters: --gtid-mode=off --master-info-repository=TABLE --relay-log-info-repository=TABLE] include/rpl_restart_server.inc [server_number=2 parameters: --relay-log-recovery --skip-slave-start --gtid-mode=off --master-info-repository=TABLE --relay-log-info-repository=TABLE] [connection slave] START SLAVE; include/stop_slave.inc RESET SLAVE ALL;