yanbolan
文章282
標籤199
類別26
ava.sql.SQLException The server time zone value '�й���׼ʱ��' is unrecognized or represents more than

ava.sql.SQLException The server time zone value '�й���׼ʱ��' is unrecognized or represents more than

,版本不同,或者你连接数据库的url有问题,mysql连接要指定时间区域地域:
//static final String DB_URL = “jdbc:mysql://localhost:3306/你的数据库?useSSL=false&serverTimezone=UTC”;

博主:yanbolan
文章連結:https://yuris.site/2019/10_16_b7f40c7f.html
版权声明:本文采用 CC BY-NC-SA 3.0 CN 协议进行许可
×