原文:Java连接mysql数据库出现The server time zone value '�й���׼ʱ��' is unrecogni的解决

Mysql版本: . . 在为MyBatis添加数据源配置时,在application.yml文件中添加了MySQL数据源连接信息。 运行代码生成类报错,The server time zone value is unrecognized or represents more than one time zone. 解决方法:在配置文件中的数据库url中添加serverTimezone UTC参数 ...

2019-09-24 12:09 0 9171 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM