开发者社区> 问答> 正文

example.log报错日志

2021-11-03 14:17:43.814 [destination = example , address = /127.0.0.1:3306 , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address /127.0.0.1:3306 has an error, retrying. caused by com.alibaba.otter.canal.parse.exception.CanalParseException: java.io.IOException: connect /127.0.0.1:3306 failure Caused by: java.io.IOException: connect /127.0.0.1:3306 failure at com.alibaba.otter.canal.parse.driver.mysql.MysqlConnector.connect(MysqlConnector.java:85) ~[canal.parse.driver-1.1.5.jar:na] at com.alibaba.otter.canal.parse.inbound.mysql.MysqlConnection.connect(MysqlConnection.java:90) ~[canal.parse-1.1.5.jar:na] at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.preDump(MysqlEventParser.java:86) ~[canal.parse-1.1.5.jar:na] at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$1.run(AbstractEventParser.java:176) ~[canal.parse-1.1.5.jar:na] at java.lang.Thread.run(Unknown Source) [na:1.8.0_271] Caused by: java.lang.NullPointerException: null at java.io.OutputStream.write(Unknown Source) ~[na:1.8.0_271] at com.alibaba.otter.canal.parse.driver.mysql.packets.client.AuthSwitchResponsePacket.toBytes(AuthSwitchResponsePacket.java:17) ~[canal.parse.driver-1.1.5.jar:na] at com.alibaba.otter.canal.parse.driver.mysql.MysqlConnector.negotiate(MysqlConnector.java:244) ~[canal.parse.driver-1.1.5.jar:na] at com.alibaba.otter.canal.parse.driver.mysql.MysqlConnector.connect(MysqlConnector.java:82) ~[canal.parse.driver-1.1.5.jar:na] ... 4 common frames omitted 2021-11-03 14:17:43.816 [destination = example , address = /127.0.0.1:3306 , EventParser] ERROR com.alibaba.otter.canal.common.alarm.LogAlarmHandler - destination:example[com.alibaba.otter.canal.parse.exception.CanalParseException: java.io.IOException: connect /127.0.0.1:3306 failure Caused by: java.io.IOException: connect /127.0.0.1:3306 failure at com.alibaba.otter.canal.parse.driver.mysql.MysqlConnector.connect(MysqlConnector.java:85) at com.alibaba.otter.canal.parse.inbound.mysql.MysqlConnection.connect(MysqlConnection.java:90) at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.preDump(MysqlEventParser.java:86) at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$1.run(AbstractEventParser.java:176) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at java.io.OutputStream.write(Unknown Source) at com.alibaba.otter.canal.parse.driver.mysql.packets.client.AuthSwitchResponsePacket.toBytes(AuthSwitchResponsePacket.java:17) at com.alibaba.otter.canal.parse.driver.mysql.MysqlConnector.negotiate(MysqlConnector.java:244) at com.alibaba.otter.canal.parse.driver.mysql.MysqlConnector.connect(MysqlConnector.java:82) ... 4 more ]

原提问者GitHub用户janwes-wong

展开
收起
山海行 2023-04-27 11:54:22 88 0
1 条回答
写回答
取消 提交回答
  • Caused by: java.io.IOException: connect /127.0.0.1:3306 failure,连不上mysql

    原回答者GitHub用户agapple

    2023-04-27 21:15:12
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
PostgresChina2018_赖思超_PostgreSQL10_hash索引的WAL日志修改版final 立即下载
Kubernetes下日志实时采集、存储与计算实践 立即下载
日志数据采集与分析对接 立即下载