... | ... | @@ -676,6 +676,10 @@ update maxwell.positions set binlog_file = 'mysql-bin.005302',binlog_position = |
|
|
原因:账户没有mysql库的访问权限,上游修改了mysql库的user表
|
|
|
处理方法:最优方法是给maxwell使用的用户对应的权限;临时的方法是在maxwell的元数据库中的tables表中插入对应user表的信息,注意对应的database_id
|
|
|
INSERT INTO maxwell.tables (id, schema_id, database_id, name, charset, pk) VALUES (727, 1092, 54, 'user', 'utf8', 'Host,User');
|
|
|
|
|
|
3. com.github.shyiko.mysql.binlog.network.ServerException: Could not find first log file name in binary log index file
|
|
|
原因:reset master或者binlog文件更名导致找不到记录的binlog文件等
|
|
|
处理方法:手动修正positions表中对应实例的binlog信息,或者清空/删除maxwell库重建
|
|
|
```
|
|
|
|
|
|
## 附:完整参数
|
... | ... | |