title: Linked Service to MySQL. Error converting invalid input with source encoding UTF-8 using ICU
body: <p>In <code>Azure Data Factory</code> I created a <code>MySQL</code> linked service. But during data preview I get error:</p>
  
  <blockquote>
    <p>ERROR [HY000] [Microsoft][Support] (50311) Error converting invalid input with source encoding UTF-8 using ICU. Rejected bytes began with: CFC2.. Activity ID:e3b7fc32-8fcd-4981-b0e3-f377c6b17150 </p>
  </blockquote>
  
  <p>Most likely a coding error. But I did not find how to configure it</p>
  
  <p>Here is <code>JSON</code> of linked sevice</p>
  
  <pre><code>{
      "name": "n_trans_connection",
      "type": "Microsoft.DataFactory/factories/linkedservices",
      "properties": {
          "annotations": [],
          "type": "MySql",
          "typeProperties": {
              "connectionString": "server=some-server;port=some-port;database=u5256_mti_spr;user=some-user;sslmode=1;usesystemtruststore=0",
              "encryptedCredential": "some-hash"
          }
      }
  }
  </code></pre>
  
  <p>How to set up encoding?</p>