using MySql.Data.MySqlClient; namespace MySqlSSL { class Program { static void Main(string[] args) { string connStr = "Server=localhost;Port=3307;Database=demo;Uid=root;Pwd=etlboxpassword;SSLMode=None"; MySqlConnection conn = new MySqlConnection(connStr); conn.Open(); string sql = $@"CREATE TABLE `test` ( `id` INT NOT NULL , CONSTRAINT `pk1` PRIMARY KEY (`id`) )"; MySqlCommand cmd = new MySqlCommand(sql, conn); cmd.ExecuteNonQuery(); //Table is created! //Exception is thrown: //System.NotSupportedException: 'Character set 'utf8mb3' is not supported by .Net Framework.' conn.Close(); } } }