cp30 An attempt by a client to checkout a Connection has timed out.
关于cp30编译控制台输出错误,同时以及Druid输出控制台报错的原因,如果连接池的size都试了还是报错的话,可能是数据库jar包mysql-connector-java的jar包为新版本,以及自己的数据库为8以上,解决这个问题,可以试着将
你的数据库(xxxxx)后加上?serverTimezone=GMT
<property name="jdbcUrl">jdbc:mysql://localhost:3306/xxxxx?serverTimezone=GMT</property>