title: How to check MySQL is running in GTID mode or not?
body: <p>In MySQL-5.7,  we have both GTID and Traditional methods to setup MySQL replication.</p>
  
  <p>We also have a new parameter:</p>
  
  <blockquote>
    <p>gtid_mode = ON_PERMISSIVE</p>
  </blockquote>
  
  <p>which means we can enable the GTID but also able to run replication in traditional way.</p>
  
  <p>Now we have enabled the MySQL replication but how we can check that mysql replication is working over GTID or Traditional ?</p>
  
  <p>Thanks</p>