title: error while connecting to mysql in C# asp.net
body: <p>I have an error while connecting my project into mysql database so i have added the code bellow to my button to fetch all rows and display it in a gridView</p>
  
  <pre><code>protected void Button1_Click(object sender, EventArgs e)
          {
              MySqlConnection myconn = new MySqlConnection("server=localhost;uid=root;password=;database=y;");
              string strSQL = "select * from welcome";
              myconn.Open();
              MySqlDataAdapter mydata = new MySqlDataAdapter(strSQL, myconn);
              MySqlCommandBuilder cBuilder = new MySqlCommandBuilder(mydata);
              System.Data.DataSet ds = new System.Data.DataSet();
              mydata.Fill(ds);
              GridView1.DataSource = ds;
              GridView1.DataBind();
              myconn.Close();
          }
  </code></pre>
  
  <p>When running the the app it shows an error in myconn.Open();</p>
  
  <pre><code>An exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in MySql.Data.dll but was not handled in user code
  </code></pre>
  
  <p>Additional information: The host localhost does not support SSL connections.</p>
  
  <p>and it pointed to myconn.Open();</p>