403Webshell
Server IP : 172.67.216.182  /  Your IP : 172.68.164.33
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/rapid/plugin/group_replication/tests/mtr/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/rapid/plugin/group_replication/tests/mtr/r/gr_reset_slave_channel.result
include/group_replication.inc [rpl_server_count=3]
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 server1]
server1
include/start_and_bootstrap_group_replication.inc
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
BEGIN;
INSERT INTO t1 VALUES (1);
INSERT INTO t1 VALUES (2);
COMMIT;
INSERT INTO t1 VALUES (3);
server2
include/start_group_replication.inc
include/rpl_gr_wait_for_number_of_members.inc
CHANGE MASTER TO MASTER_HOST="127.0.0.1", MASTER_USER="root", MASTER_PASSWORD="", MASTER_PORT=SERVER_3_PORT, MASTER_AUTO_POSITION=1 FOR CHANNEL "channel_1";
include/assert.inc ['The group replication applier channel is present']
include/assert.inc ['The slave channel is present']
RESET SLAVE ALL;
ERROR HY000: RESET SLAVE ALL FOR CHANNEL cannot be performed on channel 'group_replication_applier'.
include/assert.inc ['The group replication applier channel is still present']
include/assert.inc ['The group replication applier channel is ON']
include/assert.inc ['The slave channel is not present']
RESET SLAVE ALL FOR CHANNEL "group_replication_applier";
ERROR HY000: RESET SLAVE [ALL] FOR CHANNEL cannot be performed on channel 'group_replication_applier'.
include/stop_group_replication.inc
RESET SLAVE ALL FOR CHANNEL "group_replication_applier";
include/assert.inc ['The group replication applier channel is not present']
server2
INSERT INTO t1 VALUES (4);
server1
include/start_group_replication.inc
INSERT INTO t1 VALUES (5);
include/rpl_sync.inc
include/assert.inc [The table should contain 5 elements]
server2
Vefiry that group replication channels are present
include/assert.inc ['The group replication applier channel is present']
include/assert.inc ['The group replication recovery channel is present']
include/stop_group_replication.inc
RESET SLAVE command clears master and slave info repositories and will flush master info
RESET SLAVE;
include/assert.inc ['mysql.slave_relay_log_info contains no group replication channel information']
include/assert.inc ['mysql.slave_master_info contains flushed group replication channel information']
include/start_group_replication.inc
include/assert.inc ['The group replication applier and recovery channel are present']
include/stop_group_replication.inc
RESET SLAVE ALL;
include/assert.inc ['mysql.slave_relay_log_info does not contrain group replication channel information']
include/assert.inc ['mysql.slave_master_info does not contrain group replication channel information']
CHANGE MASTER TO MASTER_USER="root" FOR CHANNEL "group_replication_recovery";
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/start_group_replication.inc
DROP TABLE t1;
include/group_replication_end.inc

Youez - 2016 - github.com/yon3zu
LinuXploit