gpt4 book ai didi

mysql - 链接到 MySQL 的服务。使用 ICU 转换源编码为 UTF-8 的无效输入时出错

转载 作者:行者123 更新时间:2023-11-30 21:28:59 24 4
gpt4 key购买 nike

Azure Data Factory 中,我创建了一个 MySQL 链接服务。但是在数据预览期间我得到错误:

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

很可能是编码错误。但是我没有找到如何配置它

这是链接服务的JSON

{
"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"
}
}
}

如何设置编码?

最佳答案

由于错误是在您预览数据时出现的,因此我认为这不是编码问题。您能否检查一下您是否选择了不同的表,以及您是否遇到了同样的问题。

关于mysql - 链接到 MySQL 的服务。使用 ICU 转换源编码为 UTF-8 的无效输入时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57322576/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com