暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

解决人大金仓KingbaseFlysync(KFS) 同步程序mysql源端服务报错:Could not find first log file name in binary log index file的问题

KFS补给站 2023-09-28
146


解决KingbaseFlysync(KFS) 同步程序mysql源端服务报错:Could not find first log file name in binary log index file的问题

关键字

人大金仓、KingbaseFlysync ,KFS,同步程序, mysql, Could not find first log file name in binary log index file

问题描述

源端mysql解析数据过程中,出现报错并停机,且日志中出现了如下提示:

Could not find first log file name in binary log index file

descript

问题分析

mysql的log-bin的参数设置为on,而不是mysql-bin,mysql binlog文件的前缀名变成了on,KingbaseFlysync(KFS)同步程序默认以mysql-bin为前缀去查找binlog文件,查找不到导致的报错。

descript

解决方案

1)在同步程序配置文件flysync.ini中添加指定binlog文件前缀名的参数

[test@localhost ~]$ vim flysync.ini

在配置文件中mysql源端服务中添加如下配置并保存

property=replicator.extractor.dbms .binlog_file_pattern=on

descript

2)在安装包解析路径下执行./fspm update 参数更新命令

[test@localhost ~]$ cd /home/hes/KingbaseFlySync-V002R002C004BXXXXXXXX-replicator/tools

[test@localhost tools]$ ./fspm update

3)更新成功后,再启动同步程序即可

[test@localhost tools]$ replicator start

参考资料

《Kingbase FlySync 安装部署手册.pdf》

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论