gpt4 book ai didi

mysql - StreamSets CDC 来源 : Mysql-Binarylog unable to get driver instance

转载 作者:行者123 更新时间:2023-11-30 21:41:54 26 4
gpt4 key购买 nike

我正在尝试在 StreamSets 中设置 Mysql-BinaryLog,但它提示无法加载驱动程序实例。

我的.cnf:

[mysqld]
server-id = 223344
log_bin = mysql-bin
binlog_format = row
binlog_row_image = full
expire_logs_days = 10

为了使 StreamSets 源工作,是否还必须执行其他操作?

最佳答案

您需要install the MySQL JDBC driver进入 Data Collector - 按照 installing an external library 的说明进行操作,但确保在上传JDBC驱动时选择MySQL BinLog阶段库:

enter image description here

此外,如果您使用的是 MySQL Server 5.x,请使用 5.x 版 MySQL JDBC 驱动程序。尝试将 8.x 版 JDBC 驱动程序与旧服务器一起使用时存在已知问题。

关于mysql - StreamSets CDC 来源 : Mysql-Binarylog unable to get driver instance,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51151249/

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