| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/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] CREATE TABLE t1 (a INT); CREATE TABLE t2 (a INT, b INT); INSERT INTO t1 SELECT 1; INSERT INTO t1 VALUES (2),(3),(4),(5),(6); INSERT INTO t2 SELECT 1, ROW_COUNT(); INSERT INTO t1 VALUES (2),(3),(4); INSERT INTO t2 SELECT 2, ROW_COUNT(); SELECT b FROM t2 ORDER BY a; b 1 3 include/sync_slave_sql_with_master.inc SELECT b FROM t2 ORDER BY a; b 1 3 DROP TABLE t1, t2; include/sync_slave_sql_with_master.inc include/rpl_end.inc