title: Check MySql DB Connection
body: <p>I wanted to create a mysql connection checker for my program and as always i used my usual advisor <a href="https://stackoverflow.com/">SO</a> and i landed on this <a href="https://stackoverflow.com/questions/6665953/how-do-i-check-if-my-c-sharp-mysql-connection-was-successful-or-if-it-was-not">Question</a> and the answer was not exactly right.</p>
  
  <p><strong>The Question is:</strong>
  How to check for a valid mysql connection at c#?</p>