首页 > 数据库> > 使用JDBC连接MySql时出现:The server time zone value '�й���ʱ��' is unrecognized or represents more
使用JDBC连接MySql时出现:The server time zone value '�й���ʱ��' is unrecognized or represents more
作者:互联网
使用JDBC连接MySql时出现:The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration错误
该错误需要修改mybatis的配置文件中的 db.url 在最后添加字符串限制 如
db.url=jdbc:mysql://localhost:3306/mmall_learning?characterEncoding=UTF-8&serverTimezone=UTC
标签:JDBC,zone,server,unrecognized,time,more 来源: https://www.cnblogs.com/riksnoi/p/11697686.html