title: Do Mysql close the connection in 6.3.6 when I disposed the connection in c# (Mysqlconnection)
body: <p>I thing when people consider about database connection most of time they talk about Sqlconnection come within System.Data namespace.</p>
  
  <p>Last time on a forum I read that even you are using() in MySQL you need to call conn.close();</p>
  
  <p>Not sure about this. I am unsure about it in the case of MySQL. I have some C# code which connect to MySQL.</p>
  
  <p>This code open some connection which they never closed. I want to check the code. How I can verified that connection is closed.</p>
  
  <p>I means first of all how to verify using() close the mysqlconnection automatically.
  Secondly How I can debug the code which still not close the connection. </p>
  
  <p>Do someone have good way to know where connection open and not closed.</p>
  
  <pre><code>  MySqlConnection cnn = new MySqlConnection(Globals.CONNSTRING);
              cnn.Open();
  
  
              using (cnn)
  {
  }
  </code></pre>
  
  <p>I have added this sample code to know if someone can tell me if this will automatically closed the connection.</p>