canal连接不到mysql_使用canal同步数据的时候,在连接mysql数据库连接不上?报错-问答-阿里云开发者社区-阿里云...

2017-08-01 09:27:36.766 [main] INFO c.a.o.c.i.spring.support.PropertyPlaceholderConfigurer - Loading properties file from class path resource [canal.properties]

2017-08-01 09:27:36.770 [main] INFO c.a.o.c.i.spring.support.PropertyPlaceholderConfigurer - Loading properties file from class path resource [example/instance.properties]

2017-08-01 09:27:36.850 [main] WARN org.springframework.beans.TypeConverterDelegate - PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!

2017-08-01 09:27:36.971 [main] INFO c.a.otter.canal.instance.spring.CanalInstanceWithSpring - start CannalInstance for 1-example

2017-08-01 09:27:36.987 [main] INFO c.a.otter.canal.instance.core.AbstractCanalInstance - start successful....

2017-08-01 09:27:44.004 [destination = example , address = /192.168..:**** , EventParser] ERROR c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - dump address /192.168.30.46:3306 has an error, retrying. caused by

com.alibaba.otter.canal.parse.exception.CanalParseException: java.io.IOException: connect /192.168..:**** failure:java.net.ConnectException: Connection timed out

at sun.nio.ch.Net.connect0(Native Method)

at sun.nio.ch.Net.connect(Net.java:364)

at sun.nio.ch.Net.connect(Net.java:356)

at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623)

at com.alibaba.otter.canal.parse.driver.mysql.MysqlConnector.connect(MysqlConnector.java:70)

at com.alibaba.otter.canal.parse.inbound.mysql.MysqlConnection.connect(MysqlConnection.java:56)

at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.preDump(MysqlEventParser.java:86)

at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:157)

at java.lang.Thread.run(Thread.java:722)

报错信息如上,我不知道是不是这个/的问题,但是我在配置文件并没有/的,看了源码也没有,不知道是什么原因,求助!!!!万分感谢

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值