Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/rpl/r/rpl_change_master.result |
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] call mtr.add_suppression("Slave I/O: The slave I/O thread stops because a fatal error is encountered when it tried to SET @master_binlog_checksum"); create table t1(n int); select * from t1; n stop slave sql_thread; insert into t1 values(1); insert into t1 values(2); include/wait_for_slave_param.inc [Read_Master_Log_Pos] include/stop_slave.inc change master to master_user='root'; 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. start slave; select * from t1; n 1 2 drop table t1; include/rpl_reset.inc create table t1 (a int); insert into t1 values (1); flush logs; insert into t1 values (2); include/diff_tables.inc [master:t1, slave:t1] include/stop_slave.inc delete from t1 where a=2; CHANGE MASTER TO relay_log_file='slave-relay-bin.000005', relay_log_pos=4; start slave sql_thread; include/wait_for_slave_sql_to_start.inc include/diff_tables.inc [master:t1, slave:t1] start slave io_thread; include/wait_for_slave_io_to_start.inc set global relay_log_purge=1; drop table t1; include/rpl_reset.inc Master_Retry_Count: include/stop_slave.inc CHANGE MASTER TO master_retry_count=20; include/start_slave.inc include/stop_slave.inc CHANGE MASTER TO master_retry_count=0; include/start_slave.inc include/stop_slave.inc CHANGE MASTER TO master_retry_count=1; include/start_slave.inc include/stop_slave.inc CHANGE MASTER TO master_retry_count=10; include/start_slave.inc include/stop_slave.inc CHANGE MASTER TO master_retry_count=RETRY_COUNT_SET; SELECT RETRY_COUNT_EXPECTED AS current_retry_count; current_retry_count RETRY_COUNT_EXPECTED CHANGE MASTER TO master_connect_retry= 2; CHANGE MASTER TO master_connect_retry= 1; include/rpl_restart_server.inc [server_number=2] include/start_slave.inc include/stop_slave.inc CHANGE MASTER TO master_retry_count=10; CHANGE MASTER TO master_retry_count='a'; ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''a'' at line 1 CHANGE MASTER TO master_retry_count=-1; ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1 include/start_slave.inc include/stop_slave.inc CHANGE MASTER TO master_connect_retry= 200, IGNORE_SERVER_IDS= (100, 200, 300, 400, 500); include/rpl_restart_server.inc [server_number=2] include/start_slave.inc Eexpected values: "100, 200, 300, 400, 500" == "100, 200, 300, 400, 500" or 200 == 200 include/stop_slave.inc CHANGE MASTER TO IGNORE_SERVER_IDS= (); include/start_slave.inc include/stop_slave.inc create table t1(n int, b varchar(256)); insert into t1 values(1, <master_bind>); change master to master_host=<master_bind>, master_bind=<master_bind>; start slave; include/wait_for_slave_to_start.inc drop table t1; include/stop_slave.inc create table t1(n int, b varchar(256)); insert into t1 values(1, <master_bind>); change master to master_bind=<master_bind>; start slave; include/wait_for_slave_io_error.inc [errno=2003] got expected error 2003 include/stop_slave.inc change master to master_bind=''; start slave; include/wait_for_slave_to_start.inc drop table t1; include/stop_slave.inc create table t1(n int, b varchar(256)); insert into t1 values(1, <master_bind>); change master to master_host=<master_bind>, master_bind=<master_bind>; start slave; include/wait_for_slave_to_start.inc drop table t1; include/stop_slave.inc create table t1(n int, b varchar(256)); insert into t1 values(1, <master_bind>); change master to master_bind=<master_bind>; start slave; include/wait_for_slave_to_start.inc drop table t1; include/stop_slave.inc CHANGE MASTER TO master_host='SAVE_MASTER_HOST'; include/start_slave.inc include/rpl_reset.inc include/stop_slave.inc CHANGE MASTER TO MASTER_USER='root', MASTER_HOST='', MASTER_PORT=MASTER_PORT; ERROR HY000: Incorrect arguments to MASTER_HOST CHANGE MASTER TO MASTER_USER='root', MASTER_HOST='127.0.0.1\n127.0.0.1', MASTER_PORT=MASTER_PORT; ERROR HY000: Incorrect argument contains not-allowed LF value: '127.0.0.1 127.0.0.1' CHANGE MASTER TO MASTER_USER='root\n', MASTER_HOST='master2.mycompany.com', MASTER_PORT=MASTER_PORT, MASTER_USER='replication', MASTER_PASSWORD='bigs3cret', MASTER_LOG_FILE='master2-bin.001', MASTER_LOG_POS=4; ERROR HY000: Incorrect argument contains not-allowed LF value: 'root ' CHANGE MASTER TO MASTER_USER='root', MASTER_HOST='master2.mycompany.com', MASTER_PORT=MASTER_PORT, MASTER_USER='repli\ncation', MASTER_PASSWORD='bigs3cret', MASTER_LOG_FILE='master2-bin.001', MASTER_LOG_POS=4; ERROR HY000: Incorrect argument contains not-allowed LF value: 'repli cation' CHANGE MASTER TO MASTER_USER='root', MASTER_HOST='master2.mycompany.com', MASTER_PORT=MASTER_PORT, MASTER_USER='replication', MASTER_PASSWORD='bigs3cret', MASTER_LOG_FILE='master2-bin.\n001', MASTER_LOG_POS=4; ERROR HY000: Incorrect argument contains not-allowed LF value: 'master2-bin. 001' CHANGE MASTER TO MASTER_USER='root', MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT; 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. include/start_slave.inc Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Master_Host = '127.0.0.1' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. include/rpl_reset.inc include/assert.inc [Password length is 32] SET SQL_LOG_BIN=0; GRANT REPLICATION SLAVE ON *.* TO rpl@127.0.0.1 IDENTIFIED BY '012345678901234567890123456789ab'; Warnings: Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement. SET SQL_LOG_BIN=1; include/stop_slave.inc CHANGE MASTER TO MASTER_HOST='127.0.0.1', master_user='rpl', master_password='012345678901234567890123456789ab'; 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_slave_io.inc include/check_slave_param.inc [Slave_IO_Running] CHANGE MASTER TO MASTER_HOST='127.0.0.1', master_user='rpl', master_password='x012345678901234567890123456789ab'; ERROR HY000: The password provided for the replication user exceeds the maximum length of 32 characters SET SQL_LOG_BIN=0; DROP USER rpl@127.0.0.1; FLUSH PRIVILEGES; SET SQL_LOG_BIN=1; include/stop_slave_io.inc CHANGE MASTER TO MASTER_USER = 'root', MASTER_PASSWORD = ''; 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_slave.inc include/rpl_end.inc