title: Why it doesn't work when I use MysqlConnection.open()?
body: <pre><code>  using System;
      using System.Collections.Generic;
      using System.Linq;
  using System.Text;
  using MySql.Data.MySqlClient;
  
  
  namespace dbTest
  {
      class Program
      {
          static void Main(string[] args)
          {
  
          string sqlStr   = "Database=weather;Server=127.0.0.1;Uid=root;Password=123456;pooling=false;CharSet=UTF8;port=3306";
  
            MySqlConnection mysql = new MySqlConnection(sqlStr);
  
               mysql.Open();
  
               Console.WriteLine("SUCCESS");
  
                mysql.Close();
          }
      }
  }
  </code></pre>
  
  <p>It will crash when running the sentence "mysql.Open()"</p>
  
  <p>does anybody know why?
  the error message is:
          -unhandled exception:System.Collecions.Generic.KeyNotFoundException:the key is not in the dictionary
          -in System.Collections.Generic.Dictionary'2.get_Item(TKEY KEY)
          -in Mysql.Data.MySqlClient.CharSetMap.GetCharacterSet(DBVersion version,String CHARSETNAME)
          -in Mysql.Data.MySqlClient.CharSetMap.GetEncoding(DVversion version,String CharSetName)
          -in Mysql.Data.MySqlClient.Driver.Configure(MySqlConnection connection)
          -in Mysql.Data.MySqlClient.Mysqlconnection.Open()
          -in dbTest.Program.Main(String[] args) location:blahblah...</p>