title: GTID based replication is trying to reexecute what ever has been dumped on mysql
body: <p>I am trying to replicate a cloudsql MYSQL database to a GCE VM and I am following this guide.
  <a href="https://cloud.google.com/sql/docs/mysql/replication/configure-external-replica" rel="nofollow noreferrer">https://cloud.google.com/sql/docs/mysql/replication/configure-external-replica</a></p>
  <p>The error that I face is that is once I restore the dump and start my slave, the slave tries to execute the DDL commands that have already been dumped. In other words, the GTID based replication starts from 0.
  What I expect is that it starts from the point where the dump has been taken.</p>
  <p>What I am doing wrong here ?</p>
  <p>I can see that I am getting the latest GTID set from the master. (left side is slave and right side is master).</p>
  <p><a href="https://i.stack.imgur.com/B073C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B073C.png" alt="clo" /></a></p>