DataWorks中同步MySQL数据库报错: Establishing SSL connecti

已解决

DataWorks中同步MySQL数据库报错: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

展开
收起
阿里云服务支持 2022-12-09 11:18:17 246 分享 版权
1 条回答
写回答
取消 提交回答
  • 推荐回答
    官方回答

    原因:MySQL数据库升级到5.7之后,MySQL Driver会默认推荐用SSL交互协议。ps. 如果开启SSL协议会影响10%左右的SQL性能(传输需要额外加密和解密的代价)

    解决:这个错误不影响,可以忽视。也可以给connectionProperties里加上useSSL=false。

    2022-12-09 11:23:16
    赞同 展开评论

DataWorks基于MaxCompute/Hologres/EMR/CDP等大数据引擎,为数据仓库/数据湖/湖仓一体等解决方案提供统一的全链路大数据开发治理平台。

收录在圈子:
作为全球云计算的领先者,阿里云为全球230万企业提供着云计算服务,服务范围覆盖200多个国家和地区。我们致力于为企业、政府等组织机构提供安全可靠的云计算服务,给用户带来极速愉悦的服务体验。
还有其他疑问?
咨询AI助理