create table t1 (a int) engine=innodb; reset master; set autocommit=0; insert t1 values (1); flush tables with read lock; show master status; File Position Binlog_Do_DB Binlog_Ignore_DB master-bin.000001 105 commit; show master status; File Position Binlog_Do_DB Binlog_Ignore_DB master-bin.000001 105 unlock tables; drop table t1; set autocommit=1;