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_without_stopping_slave.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] Create a replication user to use in change master tests. set @orig_sql_mode= @@sql_mode; set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER','')); Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. GRANT REPLICATION SLAVE ON *.* TO replssl@localhost REQUIRE SSL; 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_mode= @orig_sql_mode; Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. include/sync_slave_sql_with_master.inc With both receiver and applier stopped, all CHANGE MASTER options should be allowed. include/stop_slave.inc CHANGE MASTER TO MASTER_AUTO_POSITION= 0; 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. CHANGE MASTER TO RELAY_LOG_FILE= 'RELAY_LOG_FILE'; CHANGE MASTER TO RELAY_LOG_POS= RELAY_LOG_POS; CHANGE MASTER TO MASTER_AUTO_POSITION= 1; CHANGE MASTER TO MASTER_AUTO_POSITION= 0; With receiver stopped and applier running, we should be able to change receiver options. Setting applier options should throw the correct error message. include/start_slave_sql.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. CHANGE MASTER TO MASTER_AUTO_POSITION= 1; ERROR HY000: This operation cannot be performed with running replication threads; run STOP SLAVE FOR CHANNEL '' first CHANGE MASTER TO RELAY_LOG_FILE= 'RELAY_LOG_FILE'; ERROR HY000: This operation cannot be performed with a running slave sql thread; run STOP SLAVE SQL_THREAD FOR CHANNEL '' first. CHANGE MASTER TO RELAY_LOG_POS= RELAY_LOG_POS; ERROR HY000: This operation cannot be performed with a running slave sql thread; run STOP SLAVE SQL_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_DELAY= 10; ERROR HY000: This operation cannot be performed with a running slave sql thread; run STOP SLAVE SQL_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_RETRY_COUNT= 1, RELAY_LOG_FILE= 'RELAY_LOG_FILE'; ERROR HY000: This operation cannot be performed with a running slave sql thread; run STOP SLAVE SQL_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_RETRY_COUNT= 1, RELAY_LOG_POS= RELAY_LOG_POS; ERROR HY000: This operation cannot be performed with a running slave sql thread; run STOP SLAVE SQL_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_RETRY_COUNT= 1, MASTER_DELAY=10; ERROR HY000: This operation cannot be performed with a running slave sql thread; run STOP SLAVE SQL_THREAD FOR CHANNEL '' first. With applier stopped and receiver running, we should be able to change applier options. Setting receiver options should throw the correct error message. include/stop_slave_sql.inc include/start_slave_io.inc CHANGE MASTER TO RELAY_LOG_FILE= 'RELAY_LOG_FILE'; CHANGE MASTER TO RELAY_LOG_POS= RELAY_LOG_POS; CHANGE MASTER TO MASTER_DELAY= 10; CHANGE MASTER TO MASTER_AUTO_POSITION= 1; ERROR HY000: This operation cannot be performed with running replication threads; run STOP SLAVE FOR CHANNEL '' first CHANGE MASTER TO MASTER_HOST= 'localhost'; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_USER= 'replssl'; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_PASSWORD= ''; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_CONNECT_RETRY= 20; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_RETRY_COUNT= 1; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_HEARTBEAT_PERIOD= 20; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_SSL= 1; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_SSL_VERIFY_SERVER_CERT= 1; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_DELAY=10, MASTER_HOST= 'localhost'; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_DELAY=10, MASTER_USER= 'replssl'; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_DELAY=10, MASTER_PASSWORD= ''; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_DELAY=10, MASTER_CONNECT_RETRY= 20; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_DELAY=10, MASTER_RETRY_COUNT= 1; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_DELAY= 10, MASTER_HEARTBEAT_PERIOD= 20; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_DELAY=10, MASTER_SSL=1; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. CHANGE MASTER TO MASTER_DELAY= 10, MASTER_SSL_VERIFY_SERVER_CERT= 1; ERROR HY000: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '' first. include/stop_slave.inc cleanup CHANGE MASTER TO MASTER_HOST= '127.0.0.1', MASTER_USER= 'root', MASTER_DELAY= 0, IGNORE_SERVER_IDS= (), MASTER_SSL= 0, MASTER_SSL_CA= '', MASTER_SSL_CERT= '', MASTER_SSL_KEY= '', MASTER_SSL_VERIFY_SERVER_CERT= 0; 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. CHANGE MASTER TO MASTER_AUTO_POSITION= SAVE_AUTOPOSITION; include/start_slave.inc DROP USER replssl@localhost; include/rpl_end.inc