数据库
_CanisLupus
相互学习
展开
-
Failed to bind properties under 'spring.datasource' to javax.sql.DataSource
springboot整合druid时,在配置文件application.yml中配置了相关配置# 初始化大小,最小,最大 initialSize: 5 minIdle: 5 maxActive: 20 # 配置获取连接等待超时的时间 maxWait: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 timeB...原创 2020-03-12 10:59:16 · 252 阅读 · 0 评论 -
java.sql.SQLException: The server time zone value '�й���ʱ��' is unrecognized or represents
在url后边加上 serverTimezone=UTCurl=jdbc:mysql://localhost:3306/myjdbc?serverTimezone=UTC就????了原创 2020-03-12 09:41:55 · 137 阅读 · 0 评论