使用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