mybatis查询数据库时报错:
ERROR com.alibaba.druid.pool.DruidPooledStatement.errorCheck(367) -
CommunicationsException, druid version 1.1.17, jdbcUrl :
jdbc:mysql://172.18.20.29:3306/mpp_payment?
connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false&useU
nicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8, testWhileIdle true,
idle millis 10113, minIdle 1, poolingCount 0, timeBetweenEvictionRunsMillis 60000,
lastValidIdleMillis 10113, driver com.mysql.jdbc.Driver, exceptionSorter
com.alibaba.druid.pool.vendor.MySqlExceptionSorter
2020-09-16 10:47:50.423 [http-nio-8998-exec-1] ERROR
com.alibaba.druid.util.JdbcUtils.close(91) - close connection error
解决:增加超时时间的时长