title: how i can test the connectionstring in Mysql
body: <p>I have a connectionstring in Mysql and how i can check that is valid or not means to say  i want to test the connectionstring as well other software give functionality like in many software a option come called something like <code>Test Connection</code> [based on connectionstring].</p>
  
  <p>any c# sample code to do that</p>