报错时使用的连接url:jdbc:mysql://192.168.105.201:3306/test?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8
改为
jdbc:log4jdbc:mysql://192.168.105.201:3306/test?serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull
后便正常连接
增加了serverTimezone=GMT%2B8设置
这是我遇到的这种情况的解决方式,还请根据实际情况调整
Unable to create initial connections of pool.报错
最新推荐文章于 2023-09-19 20:11:55 发布