开发者社区> 问答> 正文

配置node, 和manager 不在同一台机器时报错。node运行状态显示 已启动,但是同步数据库

pid:7 nid:1 exception:canal:246 (danduzk):com.alibaba.otter.canal.parse.exception.CanalParseException: command : 'show master status' has an error! Caused by: java.io.IOException: ErrorPacket [errorNumber=1227, fieldCount=-1, message=Access denied; you need the SUPER,REPLICATION CLIENT privilege for this operation, sqlState=42000, sqlStateMarker=#] with command: show master status at com.alibaba.otter.canal.parse.driver.mysql.MysqlQueryExecutor.query(MysqlQueryExecutor.java:60) at com.alibaba.otter.canal.parse.inbound.mysql.MysqlConnection.query(MysqlConnection.java:69) at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.findEndPosition(MysqlEventParser.java:590) at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.findStartPositionInternal(MysqlEventParser.java:347) at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.findStartPosition(MysqlEventParser.java:313) at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:162) at java.lang.Thread.run(Thread.java:745)

原提问者GitHub用户 solarzc

展开
收起
古拉古拉 2023-06-21 12:17:34 50 0
1 条回答
写回答
取消 提交回答
  • 错误信息中包含:“you need the SUPER,REPLICATION CLIENT privilege for this operation, sqlState”, 是权限问题

    原回答者GitHub用户 luyee

    2023-06-21 13:00:52
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
2022 DTCC-阿里云一站式数据库上云最佳实践 立即下载
云时代的数据库技术趋势 立即下载
超大型金融机构国产数据库全面迁移成功实践 立即下载