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

📄 rpl_flushlog_loop.test

📁 开启mysql的远程连接的方法 mysql-noinstall-5.1.6-alpha-win32.zip
💻 TEST
字号:
# Testing if "flush logs" command bouncing resulting in logs created in a loop # in case of bi-directional replication-- source include/master-slave.inc# This test is dependent on the actual events written to the binary# log. To not break statement-based testing, we only run this test# under statement-based logging.connection slave;--disable_warningsstop slave;--enable_warnings--replace_result $MASTER_MYPORT MASTER_PORTeval change master to master_host='127.0.0.1',master_user='root', master_password='',master_port=$MASTER_MYPORT;start slave;connection master;--disable_warningsstop slave;--enable_warnings--replace_result $SLAVE_MYPORT SLAVE_PORTeval change master to master_host='127.0.0.1',master_user='root', master_password='',master_port=$SLAVE_MYPORT;start slave;sleep 5;flush logs;sleep 5;--replace_result $SLAVE_MYPORT SLAVE_PORT--replace_column 1 # 8 # 9 # 16 # 23 # 33 #show slave status;

⌨️ 快捷键说明

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