canal icon indicating copy to clipboard operation
canal copied to clipboard

illegal connection is null;canal连接不上mysql

Open sichenyong opened this issue 1 year ago • 1 comments

Version

redis:7.2.4 canal: 1.1.7 windows上mysql: 8.0.32

Question

启动canal的时候,查看logs/example/example.log文件发现有错误,

[destination = example , address = null , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - parse events has an error com.alibaba.otter.canal.parse.exception.CanalParseException: illegal connection is null。

我在本机上使用在mysql注册的canal账号密码能够连上数据库

image

本机上的3306端口也开放了:(在linux服务器上查看windows本机端口是否开放)

image

instance.properties 文件中也配置了账号密码 ip地址

image

在windows中使用的mysql是8.0.32。bin_log是默认打开的,我没有修改,会是这个的问题吗?

sichenyong avatar Apr 22 '24 03:04 sichenyong

需要更多堆栈信息

agapple avatar Jul 16 '24 08:07 agapple