Server IP : 172.67.216.182 / Your IP : 162.158.170.195 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] SET GLOBAL DEBUG ='+d,set_commit_parent_150'; include/stop_slave.inc #setup the databases and tables CREATE DATABASE db1; CREATE TABLE db1.t (a int) engine=innodb; CREATE DATABASE db2; CREATE TABLE db2.t (a int) engine=myisam; SET GLOBAL DEBUG ='-d,set_commit_parent_150'; SET GLOBAL DEBUG ='+d,set_commit_parent_100'; INSERT INTO db1.t values (1),(2),(3); INSERT INTO db2.t values (1),(2),(3); SET GLOBAL slave_parallel_type='DATABASE'; include/start_slave.inc include/sync_slave_sql_with_master.inc include/diff_tables.inc [master:db1.t,slave:db1.t] include/diff_tables.inc [master:db2.t, slave:db2.t] include/stop_slave.inc SET GLOBAL DEBUG ='-d,set_commit_parent_100'; SET GLOBAL DEBUG ='+d,set_commit_parent_150'; INSERT INTO db1.t values (1),(2),(3); INSERT INTO db2.t values (1),(2),(3); SET GLOBAL slave_parallel_type='LOGICAL_CLOCK'; include/start_slave.inc include/sync_slave_sql_with_master.inc include/diff_tables.inc [master:db1.t,slave:db1.t] include/diff_tables.inc [master:db2.t, slave:db2.t] include/stop_slave.inc SET GLOBAL DEBUG ='-d,set_commit_parent_150'; SET GLOBAL DEBUG ='+d,set_commit_parent_100'; INSERT INTO db1.t values (1),(2),(3); INSERT INTO db2.t values (1),(2),(3); SET GLOBAL slave_parallel_type='DATABASE'; include/start_slave.inc include/sync_slave_sql_with_master.inc include/diff_tables.inc [master:db1.t,slave:db1.t] include/diff_tables.inc [master:db2.t, slave:db2.t] DROP DATABASE db1; DROP DATABASE db2; include/sync_slave_sql_with_master.inc include/stop_slave.inc include/start_slave.inc include/rpl_end.inc