java.sql.SQLException: The server time zone value ‘�й���ʱ��‘ is unrecognized or represents more解决方案
解决方案:
在连接数据库路径后面追加useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai 就OK了
spring.datasource.url=jdbc:mysql://localhost:3306/appinfodb?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
...
原创
2020-08-26 19:29:00 ·
790 阅读 ·
1 评论