博客园 首页 私信博主 显示目录 隐藏目录 管理 动画

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

 

ERROR c.a.o.canal.parse.inbound.mysql.dbsync.DirectLogFetcher - I/O error while reading from client socket
java.io.IOException: Received error packet: errno = 1236, sqlstate = HY000 errmsg = Could not find first log file name in binary log index file

 

[root@hadoop106 ~]# cd /opt/module/canal/
[root@hadoop106 canal]# ls
bin canal.deployer-1.1.4.tar.gz conf lib logs
[root@hadoop106 canal]# cd conf/
[root@hadoop106 conf]# ls
\ canal_local.properties canal.properties example logback.xml metrics spring
[root@hadoop106 conf]# cd example/
[root@hadoop106 example]# ls
h2.mv.db h2.trace.db instance.properties meta.dat
[root@hadoop106 example]# rm -rf meta.dat

 

就好了

 

posted @ 2022-04-22 09:08  CHANG_09  阅读(606)  评论(0)    收藏  举报