https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html
引用此链接以在Mysql数据库中进行更改,以便使用AWS DMS服务实现更改数据捕获。
我已经尝试过在my.ini文件中设置参数,如下所述:
https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html
binlog_format = ROW
expire_logs_days = 2
binlog_checksum = NONE
binlog_row_image = FULL
log_slave_updates = TRUE
ndb_log_bin = ON
ndb_log_update_as_write = OFF
ndb_log_updated_only = OFFAWS DMS迁移任务错误:
(无法初始化未知字符集(路径: compiled_in))连接到MySQL服务器'10.20.15.23';
MySQL服务器二进制日志记录配置错误。
遵循“MySQL as a source in DMS”的所有前提条件
Cannot initialize subtask; Stream component
'st_0_WBR3X727AXJYFCQBE2JX6O5AWM' terminated
[reptask/replicationtask.c:2680][1020414]
Stop Reason RECOVERABLE_ERROR Error Level RECOVERABLE`在这个问题上需要解决方案。如果我没有正确地进行更改,或者需要进行任何额外的更改。
发布于 2019-10-16 16:08:48
在深入研究这个问题之后,我发现了一个解决方案。必须在'my.ini‘文件(Windows)或'my.cnf’文件(Linux)中设置下面提到的字符集值。
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4
[mysqld]
character-set-client-handshake=FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci这将允许更改数据捕获有效地工作,而不会出现错误。
https://stackoverflow.com/questions/58335127
复制相似问题