mysql 时区问题:The server time zone value '???ú±ê×??±??' is unrecognized

 

org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.sql.SQLException: The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone.

 

解决办法 指定时区:

jdbc:mysql://localhost:3306/web_sm?serverTimezone=CTT

posted @ 2018-08-03 23:31  小德cyj  阅读(3207)  评论(0编辑  收藏  举报