403Webshell
Server IP : 172.67.216.182  /  Your IP : 172.68.164.158
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/mysql-test/suite/group_replication/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/mysql-test/suite/group_replication/r/gr_xplugin_basic_dml.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]
[connection server1]
include/start_and_bootstrap_group_replication.inc
INSTALL PLUGIN mysqlx SONAME 'mysqlx.so';
[connection server2]
include/start_group_replication.inc
INSTALL PLUGIN mysqlx SONAME 'mysqlx.so';
[connection server3]
include/start_group_replication.inc
INSTALL PLUGIN mysqlx SONAME 'mysqlx.so';
RUN USE test

0 rows affected
RUN CREATE TABLE T1 (C1 INT PRIMARY KEY, C2 INT )

0 rows affected
RUN INSERT INTO T1 VALUES (1,12)

1 rows affected
RUN INSERT INTO T1 VALUES (2,1234)

1 rows affected
RUN INSERT INTO T1 VALUES (3,98765)

1 rows affected
RUN UPDATE T1 SET C2 = C2 - 98765

3 rows affected
Rows matched: 3  Changed: 3  Warnings: 0
RUN DELETE FROM T1 WHERE C2 = 0

1 rows affected
Mysqlx.Ok {
  msg: "bye!"
}
ok
include/rpl_sync.inc
RUN USE test

0 rows affected
RUN CREATE TABLE T2 (C1 CHAR(20) PRIMARY KEY, C2 INT )

0 rows affected
RUN INSERT INTO T2 VALUES ('ABC',23)

1 rows affected
RUN UPDATE T2 SET C2 = C2 + 27

1 rows affected
Rows matched: 1  Changed: 1  Warnings: 0
RUN INSERT INTO T1 VALUES (4,34)

1 rows affected
RUN INSERT INTO T2 VALUES ('ABCDEF',23)

1 rows affected
RUN INSERT INTO T1 VALUES (5,1234)

1 rows affected
RUN INSERT INTO T2 VALUES ('ABCDEFGHIJ',23)

1 rows affected
RUN DELETE FROM T2 WHERE C1 = 'ABC'

1 rows affected
Mysqlx.Ok {
  msg: "bye!"
}
ok
include/rpl_sync.inc
RUN USE test

0 rows affected
RUN CREATE TABLE T3 (C1 INT PRIMARY KEY, C2 VARCHAR(20) )

0 rows affected
RUN DELETE FROM T1

4 rows affected
RUN INSERT INTO T1 VALUES (1,12345)

1 rows affected
RUN INSERT INTO T3 VALUES (1,'1234')

1 rows affected
RUN INSERT INTO T2 VALUES ('1234',1234)

1 rows affected
RUN INSERT INTO T1 VALUES (7,98765)

1 rows affected
RUN INSERT INTO T2 VALUES ('XYZ',23)

1 rows affected
RUN UPDATE T2 SET C1 = 'ABC' WHERE C1 ='XYZ'

1 rows affected
Rows matched: 1  Changed: 1  Warnings: 0
RUN INSERT INTO T3 VALUES (2,'23')

1 rows affected
RUN INSERT INTO T3 VALUES (3,'234')

1 rows affected
RUN DELETE FROM T3 WHERE C1 > 0

3 rows affected
Mysqlx.Ok {
  msg: "bye!"
}
ok
include/rpl_sync.inc
Checking the Value on T1
RUN SELECT C2 FROM test.T1 WHERE C1=1
Checking the row_count on T2
RUN SELECT C2 FROM test.T2 WHERE C1="ABC"
Mysqlx.Ok {
  msg: "bye!"
}
ok
RUN USE test

0 rows affected
RUN DROP TABLE T1

0 rows affected
RUN DROP TABLE T2

0 rows affected
RUN DROP TABLE T3

0 rows affected
Mysqlx.Ok {
  msg: "bye!"
}
ok
Stopping GR on all the servers
[connection server1]
include/stop_group_replication.inc
include/gr_wait_for_member_state.inc
UNINSTALL PLUGIN mysqlx;
[connection server2]
include/stop_group_replication.inc
include/gr_wait_for_member_state.inc
UNINSTALL PLUGIN mysqlx;
[connection server3]
include/stop_group_replication.inc
include/gr_wait_for_member_state.inc
UNINSTALL PLUGIN mysqlx;
include/group_replication_end.inc

Youez - 2016 - github.com/yon3zu
LinuXploit