更改mysql binlog监控数据库到质变maxwell报“Could not find first log file name in binary log index file ”

更改mysql binlog监控数据库到质变maxwell报“Could not find first log file name in binary log index file ”

reference

  • 在运行过maxwell监控其他表之后更改mysql my.cnf中关于监控表的配置之后,需要重新构建maxwell数据库,或者清空其中position表,因为maxwell初始化的时候找不到数据库库中原来表的读取offset,会报错
posted @ 2022-07-13 21:40  醉生梦死_0423  阅读(232)  评论(0编辑  收藏  举报