could not create connection to database server. Attempted reconnect 3 times. Giving up.

在数据库配置spring.datasource.url 后加上 serverTimezone=Asia/Shanghai即可

posted @ 2021-09-23 16:32  acchris  阅读(209)  评论(0)    收藏  举报