title: MySQL Replication Binlog file position is not being updated
body: <p>I am setting up the replication but I am facing issue that the binlog file is not being updated when I am executing any query of insert update or even creating a table. Here My Master my.cnf </p>
  
  <pre><code>server-id       = 1
  log_bin         = /var/log/mysql/mysql-bin.log
  expire_logs_days    = 10
  max_binlog_size         = 100M
  binlog_do_db        = rep_db
  </code></pre>
  
  <p>My Master Status is as under:</p>
  
  <pre><code>mysql&gt; show master status\G
   *************************** 1. row ***************************
   File: mysql-bin.000001
   Position: 107
   Binlog_Do_DB: rep_db
   Binlog_Ignore_DB: 
   1 row in set (0.00 sec)
  </code></pre>
  
  <p>It was updating the binlog file and position in the Master status but something went wrong and its not being updated. </p>