⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rpl_reset_slave.test

📁 这是linux下运行的mysql软件包,可用于linux 下安装 php + mysql + apach 的网络配置
💻 TEST
字号:
# See SHOW SLAVE STATUS displays well after RESET SLAVE (it should display the# --master-* options from mysqld, as this is what is going to be used next time# slave threads will be started). In bug 985, it displayed old values (of before# RESET SLAVE).# See if slave crashes when doing a CREATE TEMPORARY TABLE twice, separated by# RESET SLAVE.source include/master-slave.inc;connection master;save_master_pos;connection slave;sync_with_master;--replace_result $MASTER_MYPORT MASTER_PORT--replace_column 1 # 8 # 9 # 23 # 33 #show slave status;stop slave;change master to master_user='test';--replace_result $MASTER_MYPORT MASTER_PORT--replace_column 1 # 8 # 9 # 23 # 33 #show slave status;reset slave;--replace_result $MASTER_MYPORT MASTER_PORT--replace_column 1 # 8 # 9 # 23 # 33 #show slave status;start slave;sync_with_master;--replace_result $MASTER_MYPORT MASTER_PORT--replace_column 1 # 8 # 9 # 23 # 33 #show slave status;# test of crash with temp tables & RESET SLAVE# (test to see if RESET SLAVE clears temp tables in memory and disk)stop slave;reset slave;start slave;connection master;create temporary table t1 (a int);save_master_pos;connection slave;sync_with_master;stop slave;reset slave;start slave;sync_with_master;show status like 'slave_open_temp_tables';# End of 4.1 tests#

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -