canal部署启动的时候报错com.alibaba.druid.pool.DruidDataSource - testWhileIdle is true, validationQuery not set

报错信息:com.alibaba.druid.pool.DruidDataSource - testWhileIdle is true, validationQuery not set

解决方法:

  找到conf/canal.properties 文件里面的 

  canal.instance.tsdb.spring.xml=classpath:spring/tsdb/h2-tsdb.xml

  信息,给注释掉

  

posted on 2019-01-28 11:12  停不下来的菜鸟  阅读(10146)  评论(0编辑  收藏  举报

导航