spring boot

当spriing boot后端出现 

springboot启动异常java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up
这个是 因为数据库链接url未加入时区

在后面加上server&Timezong=UTC

就可以解决了

posted @ 2023-07-06 23:24  南北啊  阅读(18)  评论(0)    收藏  举报
1 2 3
4