报错信息: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

  信息,给注释掉canal部署启动的时候报错com.alibaba.druid.pool.DruidDataSource - testWhileIdle is true, validationQuery not set-LMLPHP

  

05-06 12:27